DragonFly BSD
DragonFly bugs List (threaded) for 2005-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: errno bug and gcc internal error


From: Jeroen Ruigrok/asmodai <asmodai@xxxxxxxxxxxxx>
Date: Wed, 20 Jul 2005 06:25:52 +0200

-On [20050720 00:25], George Georgalis (george@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)wxs.nl> / asmodai / kita no mono
Free Tibet! http://www.savetibet.org/ | http://ashemedai.deviantart.com/
http://www.tendra.org/   | http://www.in-nomine.org/
Everything has beauty, but not everyone sees it. - Confucius



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]