[Pacemaker] [PATCH] Dev: build: avoid GCC 4.6 warnings

Pádraig Brady P at draigBrady.com
Tue Jul 12 08:48:21 EDT 2011

On 12/07/11 13:02, Andrew Beekhof wrote:
> 2011/7/12 Pádraig Brady <P at 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.


More information about the Pacemaker mailing list