bug-gnulib
[Top][All Lists]
Advanced

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

[Bug-gnulib] gcc options for testing dist?


From: Karl Berry
Subject: [Bug-gnulib] gcc options for testing dist?
Date: Sat, 27 Mar 2004 08:00:22 -0500

What gcc options do you-all recommend when testing a distribution
(before releasing it)?

I'm mostly concerned about language features.
I just made a pretest that had a declaration in the middle of a
function, which gcc (and make distcheck) happily accepted.

Is -ansi the right thing?  I've always avoided it in the past, but now
the gcc default seems too incompatible with older compilers.

(I know there are tons of other potentially useful options to diagnose
errors, my notes have -Wshadow -Wimplicit-int -Wformat-security
-fno-common, aside from -Wall.  I'm not worried about those.)

Thanks,
karl





reply via email to

[Prev in Thread] Current Thread [Next in Thread]