[Bug libgcj/31084] New: TRUE or FALSE defined

danglin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 8 14:30:00 GMT 2007


/test/gnu/gcc/objdir/./gcc/xgcc -shared-libgcc -B/test/gnu/gcc/objdir/./gcc
-nos
tdinc++ -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src
-L/test/gn
u/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs
-B/opt/gnu/gcc/gcc-4.3
.0/hppa2.0w-hp-hpux11.11/bin/
-B/opt/gnu/gcc/gcc-4.3.0/hppa2.0w-hp-hpux11.11/lib
/ -isystem /opt/gnu/gcc/gcc-4.3.0/hppa2.0w-hp-hpux11.11/include -isystem
/opt/gn
u/gcc/gcc-4.3.0/hppa2.0w-hp-hpux11.11/sys-include -DHAVE_CONFIG_H -I.
-I../../..
/gcc/libjava -I./include -I./gcj -I../../../gcc/libjava -Iinclude
-I../../../gcc
/libjava/include -I../../../gcc/libjava/classpath/include -Iclasspath/include
-I
../../../gcc/libjava/classpath/native/fdlibm
-I../../../gcc/libjava/../boehm-gc/
include -I../boehm-gc/include -I../../../gcc/libjava/libltdl
-I../../../gcc/libj
ava/libltdl -I../../../gcc/libjava/.././libjava/../gcc
-I../../../gcc/libjava/..
/zlib -I../../../gcc/libjava/../libffi/include -I../libffi/include -fno-rtti
-fn
on-call-exceptions -pthread -fdollars-in-identifiers -Wswitch-enum
-D_FILE_OFFSE
T_BITS=64 -Wextra -Wall -D_GNU_SOURCE -DPREFIX=\"/opt/gnu/gcc/gcc-4.3.0\"
-DTOOL
EXECLIBDIR=\"/opt/gnu/gcc/gcc-4.3.0/lib\"
-DJAVA_HOME=\"/opt/gnu/gcc/gcc-4.3.0\"
 -DBOOT_CLASS_PATH=\"/opt/gnu/gcc/gcc-4.3.0/share/java/libgcj-4.3.0.jar\"
-DJAVA
_EXT_DIRS=\"/opt/gnu/gcc/gcc-4.3.0/share/java/ext\"
-DGCJ_ENDORSED_DIRS=\"/opt/g
nu/gcc/gcc-4.3.0/share/java/gcj-endorsed\"
-DGCJ_VERSIONED_LIBDIR=\"/opt/gnu/gcc
/gcc-4.3.0/lib/gcj-4.3.0\" -DPATH_SEPARATOR=\":\"
-DLIBGCJ_DEFAULT_DATABASE=\"/o
pt/gnu/gcc/gcc-4.3.0/lib/gcj-4.3.0/classmap.db\"
-DLIBGCJ_DEFAULT_DATABASE_PATH_
TAIL=\"gcj-4.3.0/classmap.db\" -g -O2 -MT java/lang/natVMProcess.lo -MD -MP -MF
java/lang/.deps/natVMProcess.Tpo -c
../../../gcc/libjava/java/lang/natVMProcess.
cc  -fPIC -DPIC -o java/lang/.libs/natVMProcess.o
In file included from ./include/platform.h:43,
                 from ../../../gcc/libjava/java/lang/natVMProcess.cc:16:
/usr/include/sys/rw_lock.h:169: error: 'This' does not name a type
In file included from ./include/platform.h:47,
                 from ../../../gcc/libjava/java/lang/natVMProcess.cc:16:
../../../gcc/libjava/java/util/Properties.h:7: error: expected declaration
befor
e end of line
make[3]: *** [java/lang/natVMProcess.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/test/gnu/gcc/objdir'
make: *** [bootstrap] Error 2
Thu Mar  8 06:09:42 EST 2007

/*
 * For source compatibility, need to continue defining TRUE and FALSE for
 * user-level applications. Although this file defines a kernel only service,
 * some user-level applications are indirectly including this file and
 * depending on the defines for TRUE and FALSE. These defines need to
 * remain until all the user-level issues have been handled.
 */
#ifndef _KERNEL
#ifndef TRUE
#define TRUE    1
#define FALSE   0
#else
#if ((TRUE != 1) || (FALSE != 0))
This is probably not a good thing....
#endif
#endif /* !TRUE */
#endif /* !_KERNEL */


-- 
           Summary: TRUE or FALSE defined
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31084



More information about the Java-prs mailing list