Martin Michlmayr writes: > Your package fails to build with GCC 4.4. You can reproduce this problem > with gcc-4.4/g++-4.4 from unstable. [...] > > ../unix/uxnet.c: In function 'sk_getxdmdata': > > ../unix/uxnet.c:973: error: dereferencing pointer 'sa' does break > > strict-aliasing rules [...]
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530949> "gcc-4.4: warns about idiomatic use of Berkeley sockets" appears relevant. That in turns leads to <https://bugzilla.redhat.com/show_bug.cgi?id=448743> which describes how to make this go away (and suggests that the presence of the warning can imply actual incorrect code). I've committed a fix upstream <http://svn.tartarus.org/sgt/?rev=8612&view=rev>. I couldn't conveniently lay my hands on GCC-4.4, but a random Ubuntu gcc-snapshot package emitted the warnings without the change and no longer does. I'm not entirely sure I fully understand the strict-aliasing rules, however; in particular, I'd appreciate advice as to whether the remaining cast in sockaddr_is_loopback() is naughty. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org