This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]