[CRIU] zdtm build failure

Cyrill Gorcunov gorcunov at openvz.org
Fri Jan 27 11:03:57 EST 2012


Andrey, for some reason zdtm no longer builds
on rhel6 testing machine

gcc -g -O2 -Wall -Werror -I../../lib   netlink00.c ../../lib/libzdtmtst.a   -o netlink00
cc1: warnings being treated as errors
netlink00.c: In function ‘form_request_del’:
netlink00.c:311: error: dereferencing pointer ‘rtap’ does break strict-aliasing rules
netlink00.c:312: error: dereferencing pointer ‘rtap’ does break strict-aliasing rules
netlink00.c:310: note: initialized from here
netlink00.c: In function ‘form_request_add’:
netlink00.c:271: error: dereferencing pointer ‘rtap’ does break strict-aliasing rules
netlink00.c:272: error: dereferencing pointer ‘rtap’ does break strict-aliasing rules
netlink00.c:270: note: initialized from here

Maybe we should release requirements a bit and drop "warnings being treated as
errors" untill all warnings are fixed?

	Cyrill


More information about the CRIU mailing list