This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Should -Wmaybe-uninitialized be included in -Wall?


Andrew> I would question the appropriateness of using -Wall -Werror in
Andrew> production code.

Andreas> What matters is whether *some* stages of production code
Andreas> development use this combination of options.  It could
Andreas> certainly be argued whether it should also be a project's
Andreas> "configure" default, like currently the case for gdb.

gdb only enables it for the development branch, not for releases.  If
you're building from CVS you're expected to know how to either fix these
problems or disable -Werror.  Typically the fix is trivial; if you look
through the archives you'll see fixes along these lines.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]