From mboxrd@z Thu Jan 1 00:00:00 1970 From: wolf359_@gmx.net To: gcc-gnats@gcc.gnu.org Subject: preprocessor/3413: include_next does not work with -I/usr/include Date: Mon, 25 Jun 2001 12:36:00 -0000 Message-id: <20010625192838.32746.qmail@sourceware.cygnus.com> X-SW-Source: 2001-06/msg01054.html List-Id: >Number: 3413 >Category: preprocessor >Synopsis: include_next does not work with -I/usr/include >Confidential: no >Severity: serious >Priority: high >Responsible: unassigned >State: open >Class: rejects-legal >Submitter-Id: net >Arrival-Date: Mon Jun 25 12:36:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Thomas Weidner >Release: 3.0.1 (20010625) >Organization: >Environment: i686 Linux2.4.5 glibc2.2.2 >Description: cpp reports the following error when processing a source file and using -I/usr/include (see How-To-Repeat): In file include from /usr/local/include/g++-v3/cstring:31, from 1.cpp:1: /usr/local/include/g++-v3/bits/std_cstring.h:40:25: string.h: file not found KDE doesn't compile because of this ! >How-To-Repeat: echo "#include " >1.cpp cpp 1.cpp -I/usr/include >/dev/null >Fix: don't know,perhaps let include_next ALWAYS search /usr/include as last directory,even if it was given with -I >Release-Note: >Audit-Trail: >Unformatted: