Lots of warning when building Java library

Bryce McKinlay mckinlay@redhat.com
Fri Nov 26 06:19:00 GMT 2004


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
>  
>



More information about the Gcc mailing list