Warnings when build gcc-4.0.2

Feng Wang wf_cs@yahoo.com
Mon Jul 11 14:28:00 GMT 2005


When building gcc-4.0.2 I find many warnings about redefined HAVE_DECL_GETOPT.
Are they what we expect?

version: 4.0.2 20050711 (prerelease)
configuration: ../gcc/configure --prefix=/home/wf/local
--enable-languages=c,f95
host and target: i686-pc-linux-gnu

#grep warning buildlog.txt
[snip]
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
../../gcc/gcc/tsystem.h:40:1: warning: this is the location of the previous
defi
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
../../gcc/gcc/tsystem.h:40:1: warning: this is the location of the previous
defi
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
../../gcc/gcc/tsystem.h:40:1: warning: this is the location of the previous
defi
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
../../gcc/gcc/tsystem.h:40:1: warning: this is the location of the previous
defi
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
../../gcc/gcc/tsystem.h:40:1: warning: this is the location of the previous
defi
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
../../gcc/gcc/tsystem.h:40:1: warning: this is the location of the previous
defi
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
../../gcc/gcc/tsystem.h:40:1: warning: this is the location of the previous
defi
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
../../gcc/gcc/tsystem.h:40:1: warning: this is the location of the previous
defi
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
../../gcc/gcc/tsystem.h:40:1: warning: this is the location of the previous
defi
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
../../gcc/gcc/tsystem.h:40:1: warning: this is the location of the previous
defi
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
../../gcc/gcc/tsystem.h:40:1: warning: this is the location of the previous
defi
[snip]


Best Regards,
Feng Wang

--
Creative Compiler Research Group,
National University of Defense Technology, China.

__________________________________________________
¸Ï¿ì×¢²áÑÅ»¢³¬´óÈÝÁ¿Ãâ·ÑÓÊÏä?
http://cn.mail.yahoo.com



More information about the Gcc mailing list