On Sun, Sep 25, 2011 at 5:08 PM, Christian Weisgerber <na...@mips.inka.de> wrote: > Tobias Ulmer <tobi...@tmux.org> wrote: > >> -> echo "#define C_STACK_GROWS_DOWNWARD 1" >>$@ >> I doubt this is true for all architectures. > > It's certainly wrong for hppa. > >> -> # OpenBSD base still uses GCC 3.3.5 which does not support -fwrapv >> -> ifeq ($(SYSTEM), OpenBSD) >> >> This is questionable today and causes chicken to omit "-fwrapv", >> which may not be desirable. > > Two OpenBSD architectures still use GCC 3 and they suffer lots of > unnecessary grief because people blindly use -Wxxx and -fxxx compiler > options that are only supported by GCC 4. Is that 'blindly use -Wxxx' or write sloppy code?
Linus Torvalds seems to fall into the later [1]. For example, he proclaimed 'GCC is crap' because GCC warned of the following (the expression < 0 was always false): unsigned int x = ... if (x < 0) .... Its kind of funny how the kernel still suffers defects that tools like GCC will [sometimes] catch. Jeff [1] http://linux.derkeiler.com/Mailing-Lists/Kernel/2006-11/msg08325.html