some warnings (from Gentoos build process)

Keith Seitz keiths@redhat.com
Sat Feb 17 19:34:00 GMT 2007


Andrew Haley wrote:
> Keith, most of these warnings are yours.  Please fix them.

As a matter of fact, they aren't mine. They're all API specification 
silliness. Only one of them occurs in code that I touched.

The attach patch removes the all the warnings I could find in 
natVMVirtualMachine.cc and jvmti.cc. I will commit it when it is approved.

Thank you for looking,
Keith

>  >  * /mnt/data/tmp/portage/dev-java/gcj-4.3.0_alpha20070216/work/gcc-4.3-20070216/libjava/jvmti.cc:1002: warning: dereferencing type-punned pointer will break strict-aliasing rules
>  > /mnt/data/tmp/portage/dev-java/gcj-4.3.0_alpha20070216/work/gcc-4.3-20070216/libjava/jvmti.cc:1009: warning: dereferencing type-punned pointer will break strict-aliasing rules
>  > /mnt/data/tmp/portage/dev-java/gcj-4.3.0_alpha20070216/work/gcc-4.3-20070216/libjava/jvmti.cc:1016: warning: dereferencing type-punned pointer will break strict-aliasing rules
>  > /mnt/data/tmp/portage/dev-java/gcj-4.3.0_alpha20070216/work/gcc-4.3-20070216/libjava/gnu/classpath/jdwp/natVMVirtualMachine.cc:105: warning: dereferencing type-punned pointer will break strict-aliasing rules

-------------- next part --------------
A non-text attachment was scrubbed...
Name: warnings.patch
Type: text/x-patch
Size: 2425 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java/attachments/20070217/fe337502/attachment.bin>


More information about the Java mailing list