On Wed, Sep 18, 2002 at 08:33:32AM -0500, Eric Gillespie wrote:
> Dominik Vogt <fvwm-workers@fvwm.org> writes:
[snip]
> > How about this: write a small test program that issues lots of
> > warnings with -Wall and AC_TRY_COMPILE it.  When that fails,
> > configure bugs out with an error message.
> 
> I guess you meant -Werror?  I don't see what you're trying to
> accomplish though.

Currently:

 $ touch configure.in
 $ make CFLAGS="-Wall -Werror"
 => make reruns configure
 => some configure test programs fail because of the warnings in
    some header files
 => features are detected/missed incorrectly (e.g. AC_C_CONST
    detects a non-ansi compiler and adds "#define const" to
    config.h)
 => bad surprises when compiling (in other words: BOOM)
 => lots of time wasted debugging imagined problems

Hopefully in the future:

 $ touch configure.in
 $ make CFLAGS="-Wall -Werror"
 => make reruns configure
 => configure refuses to run

Of course I'd rather have configure not run automatically.

Bye

Dominik ^_^  ^_^

 --
Dominik Vogt, mail: [EMAIL PROTECTED], phone: 0721/91374-382
Schlund + Partner AG, Erbprinzenstr. 4-12, D-76133 Karlsruhe
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to