This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Lots of warning when building Java library
- From: Bryce McKinlay <mckinlay at redhat dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 26 Nov 2004 00:32:35 -0500
- Subject: Re: Lots of warning when building Java library
- References: <10411260005.AA08980@vlsi1.ultra.nyu.edu>
I've just checked in a patch that should fix this.
Bryce
Richard Kenner wrote:
I've been getting lots of these for a while. Are they normal?
In file included from /gcc/gcc/gcc-head/libjava/../boehm-gc/include/gc.h:33,
from /gcc/gcc/gcc-head/libjava/posix-threads.cc:19:
../boehm-gc/include/gc_config.h:113:1: warning: "PACKAGE_NAME" redefined
In file included from /gcc/gcc/gcc-head/libjava/posix-threads.cc:14:
./include/config.h:399:1: warning: this is the location of the previous definiti
on
In file included from /gcc/gcc/gcc-head/libjava/../boehm-gc/include/gc.h:33,
from /gcc/gcc/gcc-head/libjava/posix-threads.cc:19:
../boehm-gc/include/gc_config.h:116:1: warning: "PACKAGE_STRING" redefined
In file included from /gcc/gcc/gcc-head/libjava/posix-threads.cc:14:
./include/config.h:402:1: warning: this is the location of the previous definiti
on
In file included from /gcc/gcc/gcc-head/libjava/../boehm-gc/include/gc.h:33,
from /gcc/gcc/gcc-head/libjava/posix-threads.cc:19:
../boehm-gc/include/gc_config.h:119:1: warning: "PACKAGE_TARNAME" redefined
In file included from /gcc/gcc/gcc-head/libjava/posix-threads.cc:14:
./include/config.h:405:1: warning: this is the location of the previous definiti
on