This is the mail archive of the java-patches@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]

Re: [RFC] Fix PR38892: "--enable-libgcj-debug" breaks bootstrap.


>>>>> "Dave" == Dave Korn <dave.korn.cygwin@googlemail.com> writes:

Dave>     32    static jboolean DEBUG;
Dave> ... you can probably guess immediately what went wrong:

Whoops.

Dave>   One solution that occurred to me was to rename the
Dave> preprocesser macro to (e.g.) "__GCJ_DEBUG" throughout.

Yeah, just GCJ_DEBUG would be fine.

Dave>   Another solution that occurred to me was to rename the java
Dave> class members to (e.g.) "JDEBUG" throughout.

This is more of a pain since it means putting the patch in Classpath
as well.  I think it should be simpler to just change the libgcj
native code.

Tom


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