[Pacemaker] Why are fatal warnings enabled by default?
Florian Haas
florian.haas at linbit.com
Wed Oct 21 13:08:53 UTC 2009
On 2009-10-21 14:36, Dejan Muhamedagic wrote:
>>> The warnings being?
>> In agents, a simple "./configure && make" leads to:
>>
>> [...]
>> gmake[1]: Entering directory `/home/rpmbuild/hg/cluster-agents/heartbeat'
>> if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
>> -I../linux-ha -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g
>> -O2 -ggdb3 -O0 -fgnu89-inline -fstack-protector-all -Wall
>> -Waggregate-return -Wbad-function-cast -Wcast-qual -Wcast-align
>> -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat=2
>> -Wformat-security -Wformat-nonliteral -Winline -Wmissing-prototypes
>> -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs
>> -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wstrict-prototypes
>> -Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY -Werror -MT IPv6addr.o
>> -MD -MP -MF ".deps/IPv6addr.Tpo" -c -o IPv6addr.o IPv6addr.c; \
>> then mv -f ".deps/IPv6addr.Tpo" ".deps/IPv6addr.Po"; else rm -f
>> ".deps/IPv6addr.Tpo"; exit 1; fi
>> cc1: warnings being treated as errors
>> IPv6addr.c: In function ‘send_ua’:
>> IPv6addr.c:453: warning: passing argument 2 of
>> ‘libnet_pblock_record_ip_offset’ makes pointer from integer without a cast
>
> This doesn't happen here with libnet-1.1.2.1-140.75.i586. Which
> libnet version do you have?
libnet-1.1.4-3.el5
Cheers,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091021/71e6390f/attachment-0004.sig>
More information about the Pacemaker
mailing list