From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32495 invoked by alias); 21 Feb 2008 19:43:52 -0000 Received: (qmail 32487 invoked by uid 22791); 21 Feb 2008 19:43:52 -0000 X-Spam-Check-By: sourceware.org Received: from exprod6og103.obsmtp.com (HELO exprod6og103.obsmtp.com) (64.18.1.185) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 21 Feb 2008 19:43:26 +0000 Received: from source ([192.150.11.134]) by exprod6ob103.postini.com ([64.18.5.12]) with SMTP; Thu, 21 Feb 2008 11:43:23 PST Received: from inner-relay-3.eur.adobe.com (inner-relay-3.adobe.com [192.150.20.198] (may be forged)) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id m1LJekin023826; Thu, 21 Feb 2008 11:40:46 -0800 (PST) Received: from apacmail.pac.adobe.com (apacmail.pac.adobe.com [130.248.36.99]) by inner-relay-3.eur.adobe.com (8.12.10/8.12.9) with ESMTP id m1LJgtFv001037; Thu, 21 Feb 2008 11:43:21 -0800 (PST) Received: from namailgen.corp.adobe.com ([10.8.192.91]) by apacmail.pac.adobe.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 22 Feb 2008 04:43:06 +0900 Received: from 10.7.234.19 ([10.7.234.19]) by namailgen.corp.adobe.com ([10.8.192.91]) via Exchange Front-End Server namail.corp.adobe.com ([10.8.189.98]) with Microsoft Exchange Server HTTP-DAV ; Thu, 21 Feb 2008 19:43:04 +0000 User-Agent: Microsoft-Entourage/12.0.0.071130 Date: Thu, 21 Feb 2008 19:43:00 -0000 Subject: Re: STL problems in GCC 4.1.2 From: Eljay Love-Jensen To: David Arthur CC: GCC-help Message-ID: In-Reply-To: <000101c874bf$b67007b0$500010ac@gx520> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-02/txt/msg00260.txt.bz2 Hi David, Hmmm. It says that you are using a pre-release. Can you get a non-pre-release build of 4.1.2? Probably doesn't matter. It looks like it was built with "../configure", which is not a supported way to build GCC. That could be causing problems. It looks like it is using the correct cc1 and collect2. What errors does this short C++ "foo.cpp" program produce? ------------------------------------------------------------ // c++ -std=c++98 -Wall -Wextra -pedantic -o foo foo.cpp #include #include #include using std::cout; using std::endl; using std::list; using std::string; int main() { typedef list MyList; MyList myList; myList.push_back("hello"); myList.push_back("world"); myList.push_back("goodnight"); myList.push_back("moon"); for(MyList::iterator i = myList.begin(); i != myList.end(); ++i) { cout << *i << endl; } } ------------------------------------------------------------ --Eljay