From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23988 invoked by alias); 16 May 2002 08:06:04 -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 23965 invoked by uid 71); 16 May 2002 08:06:02 -0000 Resent-Date: 16 May 2002 08:06:01 -0000 Resent-Message-ID: <20020516080601.23963.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, morandini@aero.polimi.it Received:(qmail 22926 invoked by uid 61); 16 May 2002 08:03:30 -0000 Message-Id:<20020516080330.22924.qmail@sources.redhat.com> Date: Thu, 16 May 2002 01:06:00 -0000 From: morandini@aero.polimi.it Reply-To: morandini@aero.polimi.it To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: libstdc++/6671: ext search path X-SW-Source: 2002-05/txt/msg00440.txt.bz2 List-Id: >Number: 6671 >Category: libstdc++ >Synopsis: ext search path >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: doc-bug >Submitter-Id: net >Arrival-Date: Thu May 16 01:06:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Marco Morandini >Release: gcc version 3.1 >Organization: >Environment: Suse linux 7.3 >Description: libstdc++, 5.4 Extensions and Backward Compatibility Although you can specify -I options to make the preprocessor search the g++-v3/ext..... This is wrong, because will get loaded instead of , and does not include ../memory Also, note that other files (ext/algorithm, ext/functional, ext/iterator, ext/numeric) suffer for a similar problem: for example, include , and this will never be found with -I.../ext >How-To-Repeat: g++ -c -Igcc_include_path/g++-v3/ext pippo.C >Fix: a) fix the doc imposing the use of #include b) rename ext/memory (and the other files) c) Is there a way to include "../memory" if and only if ext/ is in the include search path? >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/plain; name="pippo.C" Content-Disposition: inline; filename="pippo.C" #include int main(void) { return 0; };