TRUE / FALSE redefinition in gcj/javaprims.h
Andreas Tobler
toa@pop.agri.ch
Sat May 20 21:54:00 GMT 2006
Hello all,
and sorry for a second post, Rainer.
we have a problem with the following _HACK_ in gcj/javaprims.h:
// FIXME: this is a hack until we get a proper gcjh.
// It is needed to work around system header files that define TRUE
// and FALSE.
#undef TRUE
#define TRUE TRUE
#undef FALSE
#define FALSE FALSE
The ChangeLog entry dates back to:
1999-08-12 Alexandre Oliva <oliva@dcc.unicamp.br>
* include/javaprims.h (TRUE, FALSE): Redefine as themselves.
And a search on the libjava-patches points to:
http://gcc.gnu.org/ml/java-patches/1999-q3/msg00110.html
So, the question is, is this still an actual point? Is the gcjh fixed?
Removing this hack would make the build on HP-UX PA 32-bit pass.
I tested the removal on ppc-linux|darwin, sparc-solaris and
hppa2.0w-hp-hpux11.11. Works.
If we have to live with this hack, we have to insert another hack to
complete the HP-UX PA 32-bit port.
Opininons? Facts?
Thanks for the feedback.
Andreas
More information about the Java
mailing list