From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23266 invoked by alias); 11 Dec 2007 22:22:10 -0000 Received: (qmail 23183 invoked by uid 48); 11 Dec 2007 22:21:57 -0000 Date: Tue, 11 Dec 2007 22:22:00 -0000 Message-ID: <20071211222157.23182.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/33832] Can't tell gcc 4.3 libstdc++ API from gcc 4.2 libstdc++ API In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "bkoz at gcc dot gnu dot org" 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: 2007-12/txt/msg00997.txt.bz2 ------- Comment #6 from bkoz at gcc dot gnu dot org 2007-12-11 22:21 ------- HJ: this and 33831 are the same thing. I would appreciate it if you could either clarify why you think they are separate, or close one of them. I suggest closing 33832. This PR I will treat as "How HJ can fix eon in SPEC 2000". I suspect this is what motivated this bug report. Here's the bit from SPEC, courtesy of Vlad. /home/cygnus/vmakarov/perf/sbox/gcc/local.spec2000.x86_64/inst.toolbox/bin/g++ -c -o ggCoverageSolidTexture.o -DHAS_ERRLIST -DSPEC_STDCPP -DFMAX_IS_DOUBLE -DUSE_STRERROR -Wno-deprecated -DSPEC_CPU2000_LP64 -fpermissive -I. -DNDEBUG -O2 -mtune=generic ggCoverageSolidTexture.cc Ie: 1) -Wno-deprecated 2) -fpermissive Fixing -Wno-deprecated would have been/is still easy. change #include to # include using namespace std; Yay! Safe for the millennium. I don't know what it would take to fix -fpermissive. You can find more information about this, and an autoconf macro that tests for this, here: http://gcc.gnu.org/onlinedocs/libstdc++/17_intro/backwards_compatibility.html Look for "Pre-ISO headers moved to backwards or removed" best, benjamin -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33832