This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
An error message enhancement request
- From: "Donald R. Laster Jr." <laster at dlaster dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 21 Jan 2004 20:38:39 -0500
- Subject: An error message enhancement request
- Organization: Personal Mail
GCC Development Team,
When developing developing software I will get this error once in a while
structure has no member named '<member-name>'
due to typos and other typical development gotchas. It would be useful if the error message included the structure name if known or associated pointer or variable if the compiler has the information available for the error message.
I often use the same structure member names in mulitple structures since I use names that convey the use of member. If the message was something like this
structure '<structure-name>' has no member named '<member-name>'
or this
'<variable>' structure '<structure-name>' has no member named '<member-name>'
it would make it easier to locate the proper reference in more complicated statements.
Sincerely,
Donald R. Laster Jr.
--
===========================================================================
Donald R. Laster Jr.
Senior Consulting Engineer
DOT4 Inc.
Email : dlaster@dot4.com
Phones: (732) 263-9236 (Office)
===========================================================================