[Xorp-hackers] -Werror
Hasso Tepper
hasso@linux.ee
Sun, 25 Dec 2005 18:29:03 +0200
Pavlin Radoslavov wrote:
> About -Werror in general, we are strongly in its support, because
> it is very helpful in discovering various bugs.
OK.
> Indeed, occasionally we come across compiler bugs (e.g., the
> ntohl()/htonl() issue inside ospf/peer.cc), but those are isolated
> cases so it is still worth dealing with those cases and keep using
> -Werror.
I'm not really sure whether it's worth of it, but if it's decided to be
so, OK. But one part of my question wasn't answered - is there policy
which compiler flags are supported? Most of these warnings I reported
appear only with -Os and or -O3.
--
Hasso Tepper