From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29523 invoked by alias); 14 Jan 2008 15:43:10 -0000 Received: (qmail 28200 invoked by uid 48); 14 Jan 2008 15:42:25 -0000 Date: Mon, 14 Jan 2008 16:45:00 -0000 Message-ID: <20080114154225.28199.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/34780] Bootstrapping libstdc++-v3 failed In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dominiq at lps dot ens dot fr" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-01/txt/msg01413.txt.bz2 ------- 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