From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4456 invoked by alias); 19 May 2002 14:57:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 4432 invoked by uid 61); 19 May 2002 14:57:00 -0000 Date: Sun, 19 May 2002 07:57:00 -0000 Message-ID: <20020519145700.4431.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, jblinka@neo.rr.com, nobody@gcc.gnu.org, paolo@gcc.gnu.org From: paolo@gcc.gnu.org Reply-To: paolo@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, jblinka@neo.rr.com, nobody@gcc.gnu.org, paolo@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: libstdc++/6720: compile error using stl extensions X-SW-Source: 2002-05/txt/msg00569.txt.bz2 List-Id: Synopsis: compile error using stl extensions Responsible-Changed-From-To: unassigned->paolo Responsible-Changed-By: paolo Responsible-Changed-When: Sun May 19 07:56:59 2002 Responsible-Changed-Why: Triaged. State-Changed-From-To: open->feedback State-Changed-By: paolo State-Changed-When: Sun May 19 07:56:59 2002 State-Changed-Why: Does changing -I to -idirafter solve the problem for you? E.g.: g++ -o a -idirafter/usr/local/lang/gcc/include/g++-v3/ext a.cc Thanks for your report, Paolo. P.S. Notice that, from the manual: "... It is dangerous to specify a standard system include directory in -I option. This defeats the special treatment of system headers." http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6720