This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Warnings when build gcc-4.0.2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]