This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: some warnings (from Gentoos build process)
Keith Seitz writes:
> 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.
If the API really requires that the same object be accessed with
incompatible types then we perhaps should be compiling with
-fno-strict-aliasing.
Andrew.