From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17334 invoked by alias); 12 Feb 2008 22:11:52 -0000 Received: (qmail 17306 invoked by uid 22791); 12 Feb 2008 22:11:49 -0000 X-Spam-Check-By: sourceware.org Received: from wr-out-0506.google.com (HELO wr-out-0506.google.com) (64.233.184.234) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 12 Feb 2008 22:11:29 +0000 Received: by wr-out-0506.google.com with SMTP id c47so4526361wra.20 for ; Tue, 12 Feb 2008 14:11:26 -0800 (PST) Received: by 10.141.161.6 with SMTP id n6mr1325583rvo.201.1202854285859; Tue, 12 Feb 2008 14:11:25 -0800 (PST) Received: from gx520 ( [70.165.104.146]) by mx.google.com with ESMTPS id 7sm1061497wrl.33.2008.02.12.14.11.23 (version=SSLv3 cipher=RC4-MD5); Tue, 12 Feb 2008 14:11:24 -0800 (PST) From: "David Arthur" To: Subject: STL problems in GCC 4.1.2 Date: Tue, 12 Feb 2008 22:11:00 -0000 Message-ID: <000301c86dc4$35920a00$500010ac@gx520> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 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/msg00107.txt.bz2 Hello all, I have searched archives for info regarding this, but didn't find anything... I am trying to compile an app under gcc 4.1.2 and I get _loads_ of STL errors, relating to templates in STL headers that are unhappy. The strange thing is that all compiles beautifully under gcc 3.3.3! I have found that some of the errors can be eliminated by simply rearranging the #include directives for my many header files, or in some cases, by throwing a #include (or , etc.) into my include list. Does anyone know why this is happening? I use a large number of included header files and this is a rather large project (which is why I haven't included any code). Any help anyone can provide would be greatly appreciated! Thank you, Dave