2011/7/12 Pádraig Brady <p...@draigbrady.com>:
> 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

We had logic already for conditionally adding flags depending on if
the compiler supports it or not.
I just added it to the list :-)

_______________________________________________
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