errno bug and gcc internal error

Jeroen Ruigrok/asmodai asmodai at
Tue Jul 19 21:26:56 PDT 2005

-On [20050720 00:25], George Georgalis (george at xxxxxxxxx) wrote:
>Seems the gcc core should gracefully deal with this (warnings that
>code has been grokked), if there is no clean way to grok programs
>incorrectly declaring errno, the compiler should...

The compiler should do nothing of the sort!

The compiler should say:

Error: your C sucks and does not follow standards.

Don't "fix" the tools to solve the idiocy of the programmer.
The C standard is very clear on this.

Jeroen Ruigrok van der Werven <asmodai(at)> / asmodai / kita no mono
Free Tibet! |   |
Everything has beauty, but not everyone sees it. - Confucius

More information about the Bugs mailing list