Jim Meyering wrote:
> This is a strong argument for enabling -Werror when compiling tests.
> Even on Fedora 13, these warnings have been flying by:

The problem is catching the developer's attention, when some compilation
produces tons of output. The use of automake's options 'silent-rules' and
'color-tests' are steps in this direction.

The trick that I use is a script that shows me the differences between
the last run and the current run of a command. So, in my working directories,
I normally don't run "./configure" and "make" any more, but
"./rerun-configure" and "./rerun-make", which are tiny scripts:

  ===================== rerun-configure ========================
  #!/bin/sh
  rerun ./configure --prefix=/arch/x86-linux/gnu CPPFLAGS=-Wall 
--disable-shared --enable-static
  ==============================================================

  ====================== rerun-make ===========================
  #!/bin/sh
  rerun make
  =============================================================

Enabling -Werror would only help for "make"'s output, not for "configure"'s
output.

Bruno

Attachment: rerun
Description: application/shellscript

Reply via email to