Bug#505596: FTBFS with GCC 4.4: dereferencing type-punned pointer...

Michael Koch konqueror at gmx.de
Tue Sep 8 05:11:59 UTC 2009


forwarded 505596 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41303
tag 505596 + upstream
thanks


On Thu, Nov 13, 2008 at 08:17:08PM +0100, Martin Michlmayr wrote:
> Package: classpath
> Version: 2:0.97.2-1.1
> User: debian-gcc at lists.debian.org
> Usertags: ftbfs-gcc-4.4
> 
> Your package fails to build with the upcoming GCC 4.4.  Version 4.4
> has not been released yet but I'm building with a snapshot in order
> to find errors and give people an advance warning.
> 
> You can reproduce this problem with gcc-snapshot from unstable.
> 
> > Automatic build of classpath_2:0.97.2-1.1 on em64t by sbuild/amd64 0.53
> ...
> > cc1: warnings being treated as errors
> > cpnet.c: In function 'cpnet_addMembership':
> > cpnet.c:583: error: dereferencing type-punned pointer will break strict-aliasing rules
> > cpnet.c: In function 'cpnet_dropMembership':
> > cpnet.c:598: error: dereferencing type-punned pointer will break strict-aliasing rules
> > make[4]: *** [cpnet.lo] Error 1


Cheers,
Michael





More information about the pkg-java-maintainers mailing list