This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

An error message enhancement request


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)

===========================================================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]