[PATCH util-macros 1/1] Provide a configure option to turn off the selective -Werror=... CFLAGS

Gaetan Nadon memsize at videotron.ca
Wed Dec 21 10:19:32 PST 2011

On 11-12-20 09:13 PM, Alan Coopersmith wrote:
> On 12/19/11 18:50, Jeremy Huddleston wrote:
>> Provide end users with a workaround if they find code doesn't build with
>> the -Werror=... flags provided by BASE_CFLAGS.  This can be useful if
>> newer util-macros are used with older source code that had problems, or
>> in the rare case when warnings are expanded to hit more cases (although
>> this case should not happen too much in practice).
> Should --enable-selective-werror be forcibly enabled for distchecking via
This option is enabled by default, so it is applied at distcheck time, 
even if the module was configured with --disable-selective-werror at the 
time when 'make distcheck' was invoked.

Now that you mention it, if those who need --disable-selective-werror 
because they are "stuck" otherwise will not be able to run distcheck. 
That makes me wonder if this option will be on any use for those who 
cannot build without it in the first place. This was the motivation to 
create this option to begin with. Hmmm...

More information about the xorg-devel mailing list