[Bf-committers] Various build-related remarks

Martin Poirier theeth at yahoo.com
Sat Apr 26 02:09:33 CEST 2008


Hi,

--- On Fri, 4/25/08, Cyril Brulebois <kibi at debian.org> wrote:

> You may also want to drop that flag from C_WARN:
> | cc1plus: warning: command line option
> "-Wdeclaration-after-statement" is valid for
> C/ObjC but not for C++
> gets printed for every single file with gcc 4.3.1. Not that
> I'm
> complaining, I already patched it, but I thought you might
> want to know
> about that.

C_WARN shouldn't affect C++ files though, should it? If it does, the bug is there.

As you said, it's a valid option for C files so I don't see why the solution is to remove it completely.

That option is very useful in preventing people using GCC from breaking compilation on stricter compilers.

Martin


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


More information about the Bf-committers mailing list