[EMAIL PROTECTED] (Eric Blake) wrote:
...
> configuring with -Werror.  Once configured, though, running
> make with -Werror is good policy for portability checks.
>
> What I meant to ask you to try, rather than
> 'configure CFLAGS=-Werror; make', was:
>
> $ ./configure CFLAGS=-Wall
> $ make CFLAGS='-Wall -Werror'

For general software development, I find that
it helps to add at least -O or -O2 to the list.
With optimization enabled, gcc performs more analysis,
and will detect e.g., variables that may be used defined,
that it wouldn't otherwise detect.


Reply via email to