public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/31084]  New: TRUE or FALSE defined
@ 2007-03-08 14:30 danglin at gcc dot gnu dot org
  2007-04-22 22:46 ` [Bug libgcj/31084] " dave at hiauly1 dot hia dot nrc dot ca
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: danglin at gcc dot gnu dot org @ 2007-03-08 14:30 UTC (permalink / raw)
  To: java-prs

/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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/31084] TRUE or FALSE defined
  2007-03-08 14:30 [Bug libgcj/31084] New: TRUE or FALSE defined danglin at gcc dot gnu dot org
@ 2007-04-22 22:46 ` dave at hiauly1 dot hia dot nrc dot ca
  2007-04-24 23:51 ` tromey at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2007-04-22 22:46 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from dave at hiauly1 dot hia dot nrc dot ca  2007-04-22 23:46 -------
Subject: Re:   New: TRUE or FALSE defined

I'm testing the attached fix.  platform.h needs to be included before
javaprims.h.  platform.h includes gcj/cni.h.

Dave


------- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca  2007-04-22 23:46 -------
Created an attachment (id=13429)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13429&action=view)


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/31084] TRUE or FALSE defined
  2007-03-08 14:30 [Bug libgcj/31084] New: TRUE or FALSE defined danglin at gcc dot gnu dot org
  2007-04-22 22:46 ` [Bug libgcj/31084] " dave at hiauly1 dot hia dot nrc dot ca
@ 2007-04-24 23:51 ` tromey at gcc dot gnu dot org
  2007-04-25  1:25 ` danglin at gcc dot gnu dot org
  2007-04-25  1:35 ` danglin at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-04-24 23:51 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from tromey at gcc dot gnu dot org  2007-04-25 00:51 -------
This patch is ok.  Please check it in.  thanks.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/31084] TRUE or FALSE defined
  2007-03-08 14:30 [Bug libgcj/31084] New: TRUE or FALSE defined danglin at gcc dot gnu dot org
  2007-04-22 22:46 ` [Bug libgcj/31084] " dave at hiauly1 dot hia dot nrc dot ca
  2007-04-24 23:51 ` tromey at gcc dot gnu dot org
@ 2007-04-25  1:25 ` danglin at gcc dot gnu dot org
  2007-04-25  1:35 ` danglin at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: danglin at gcc dot gnu dot org @ 2007-04-25  1:25 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from danglin at gcc dot gnu dot org  2007-04-25 02:24 -------
Subject: Bug 31084

Author: danglin
Date: Wed Apr 25 02:24:47 2007
New Revision: 124138

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124138
Log:
        PR libgcj/31084
        * java/lang/natVMProcess.cc: Include platform.h before jvm.h.


Modified:
    trunk/libjava/ChangeLog
    trunk/libjava/java/lang/natVMProcess.cc


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/31084] TRUE or FALSE defined
  2007-03-08 14:30 [Bug libgcj/31084] New: TRUE or FALSE defined danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-04-25  1:25 ` danglin at gcc dot gnu dot org
@ 2007-04-25  1:35 ` danglin at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: danglin at gcc dot gnu dot org @ 2007-04-25  1:35 UTC (permalink / raw)
  To: java-prs



------- Comment #5 from danglin at gcc dot gnu dot org  2007-04-25 02:34 -------
Fixed.


-- 

danglin at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-04-25  1:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-08 14:30 [Bug libgcj/31084] New: TRUE or FALSE defined danglin at gcc dot gnu dot org
2007-04-22 22:46 ` [Bug libgcj/31084] " dave at hiauly1 dot hia dot nrc dot ca
2007-04-24 23:51 ` tromey at gcc dot gnu dot org
2007-04-25  1:25 ` danglin at gcc dot gnu dot org
2007-04-25  1:35 ` danglin at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).