[Rawstudio-dev] [PATCH] Add configure option

Anders Brander anders at brander.dk
Thu Mar 31 02:24:12 CEST 2011


On Sun, 2011-03-27 at 19:56 +0200, giallu at gmail.com wrote:
> As noted in another thread, I had some trouble with -Werror in Fedora
> 15 (gcc 4.6). The following patch (shameless cut&paste from gdb)
> allows to do:
> ./configure --disable-werror

As you mentioned in another mail, -Werror by default is not a good idea.

I would welcome a patch that does the following:

1. Removes -Werror from all makefiles (if any left).
2. Adds a --enable-werror flag to configure.
3. If said flag is used, adds -Werror to AM_CFLAGS in configure, not in
every makefile.

/Anders Brander

More information about the Rawstudio-dev mailing list