Enabing compiler warnings



I've noticed that autogen.sh runs configure as:

Running ./configure --enable-maintainer-mode --enable-compile-warnings ...

I would expect that the --enable-compile-warnings switch would add
something like "-Wall" or "-Wall -pedantic" or the non-gcc equivalents
to all the CFLAGS variables, but this doesn't always happen.  In
particular, gnome-utils/gstripchart gets built without any additional
compiler diagnostics enabled.

Is there some simple incantation that will get
--enable-compile-warnings to enable compile warnings?  The auto* info
pages are silent on this issue, and the examples I've found where
-Wall does get used are quite cryptic.

-- John Kodis.



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