[PATCH] Fix multiple macros with the same name
Dr Andrew John Hughes
ahughes at redhat.com
Thu Mar 31 07:39:54 PDT 2011
On 10:11 Thu 31 Mar , Andrew Haley wrote:
> On 31/03/11 10:06, Mladen Turk wrote:
> > Patch fixes the compile time warning:
> > In file included from ../../../src/share/native/java/io/FileInputStream.c:38:0:
> > ../../../src/solaris/native/java/io/io_util_md.h:68:0: warning: "SET_HANDLE" redefined
> > ../../../src/share/javavm/include/typedefs.h:80:0: note: this is the location of the previous definition
> > Although non-critical it could break the build
> > depending on the order in which files are included.
> > Anyhow, patch makes sure that SET_HANDLE macros
> > defined are different since they handle different things.
> I'm sorry, but you're going to have to deal with OpenJDK bureaucracy.
> Please send this to hotspot-dev. If they reply you'll probably be asked
> to create a bug ID, then this can be pushed.
You're right; we don't want to be carrying a mass of warning cleanups in IcedTea.
However, this is jdk code, so it wants to go to core-libs-dev, not the HotSpot team.
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
More information about the distro-pkg-dev