This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/30570] Word "DEBUG" used as a variable in VMAccessController.java breaks build
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 29 Jan 2007 19:03:15 -0000
- Subject: [Bug libgcj/30570] Word "DEBUG" used as a variable in VMAccessController.java breaks build
- References: <bug-30570-13830@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from tromey at gcc dot gnu dot org 2007-01-29 19:03 -------
Hmm, we use "DEBUG" in java-assert.h.
That is a bit unfriendly.
Anyway if this define is coming from a system header, the
traditional fix is to #undef it somewhere. Typically this is
done in the platform flavor's header file, e.g., libjava/include/win32.h.
We already have "#undef STRICT" there...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30570