On 12/07/11 13:48, Pádraig Brady wrote:
> On 12/07/11 13:02, Andrew Beekhof wrote:
>> 2011/7/12 Pádraig Brady <p...@draigbrady.com>:
>>> So -Wnounused-but-set-variable will disable that particular warning.
>>
>> Perfect. Added that to configure.
> 
> -Wno-unused-but-set-variable even
> 
> Red Hat 4.5.1-4 had -Wunused-but-set-variable but it's
> auto enabled with -Wall since GCC 4.6
> 
> GCC helpfully ignores any -Wno-.... options it doesn't understand.

GCC >= 4.3 helpfully ignores any -Wno-.... options it doesn't understand

cheers,
Pádraig.

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

Reply via email to