[Bug libgcj/30570] Word "DEBUG" used as a variable in VMAccessController.java breaks build

tromey at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 29 19:03:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list