------- Comment #5 from dominiq at lps dot ens dot fr  2008-01-14 15:42 -------
Configuring gcc with:

../gcc-4.3-work/configure --prefix=/opt/gcc/gcc4.3w
--mandir=/opt/gcc/gcc4.3w/share/man --infodir=/opt/gcc/gcc4.3w/share/info
--build=i686-apple-darwin9 --enable-languages=c,c++,fortran,objc,obj-c++,java
--with-gmp=/sw --with-libiconv-prefix=/usr --with-system-zlib
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--enable-maintainer-mode --disable-werror

I still get the same failure:

cc1plus: warnings being treated as errors
/opt/gcc/gcc-4.3-work/libstdc++-v3/../gcc/unwind-pe.h:74: error: 'unsigned int
size_of_encoded_value(unsigned char)' defined but not used

According the manual:

--enable-werror
--disable-werror
--enable-werror=yes
--enable-werror=no
When you specify this option, it controls whether certain files in the compiler
are built with -Werror in bootstrap stage2 and later. If you don't specify it,
-Werror is turned on for the main development trunk. However it defaults to off
for release branches and final releases. The specific files which get -Werror
are controlled by the Makefiles. 

Why do I have '-Werror' while building libstdc++-v3?


-- 


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

Reply via email to