From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15489 invoked by alias); 3 Dec 2002 16:16:07 -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 15468 invoked by uid 71); 3 Dec 2002 16:16:06 -0000 Resent-Date: 3 Dec 2002 16:16:06 -0000 Resent-Message-ID: <20021203161606.15467.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, mpeck@akamai.com Received: (qmail 8831 invoked by uid 61); 3 Dec 2002 16:08:28 -0000 Message-Id: <20021203160828.8829.qmail@sources.redhat.com> Date: Tue, 03 Dec 2002 08:16:00 -0000 From: mpeck@akamai.com Reply-To: mpeck@akamai.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: preprocessor/8798: #include is including /usr/bin/locale instead of /usr/local/include/c++/3.2.1/locale X-SW-Source: 2002-12/txt/msg00150.txt.bz2 List-Id: >Number: 8798 >Category: preprocessor >Synopsis: #include is including /usr/bin/locale instead of /usr/local/include/c++/3.2.1/locale >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: rejects-legal >Submitter-Id: net >Arrival-Date: Tue Dec 03 08:16:04 PST 2002 >Closed-Date: >Last-Modified: >Originator: mpeck@akamai.com >Release: gcc version 3.2.1 >Organization: >Environment: Debian 3.0 (woody) based OS with RedHat Kernel >Description: A #include leads to /usr/local/include/c++/3.2.1/bits/istream.tcc:37 doing a #include , which then issues a failure on /usr/bin/locale:10:184, and several others. I don't understand where /usr/bin/locale is coming from. I tried changing istream.tcc to #include , but same results, and changing the "<>" to double quotes also got same result. Here's the output from the compiler: ====================================== Computing dependencies for mapDispatcher/pingState.cc In file included from /usr/local/include/c++/3.2.1/bits/istream.tcc:37, from /usr/local/include/c++/3.2.1/istream:297, from /usr/local/include/c++/3.2.1/iostream:46, from /d0/20021203-0635/akamai/common/include/Mapper/Dispatcher/pingState.h:8, from /d0/20021203-0635/akamai/mapDispatcher/pingState.cc:9: /usr/bin/locale:10:184: missing terminating ' character /usr/bin/locale:28:1089: missing terminating ' character /usr/bin/locale:43:3674: missing terminating ' character /usr/bin/locale:58:132: missing terminating ' character /usr/bin/locale:66:604: missing terminating ' character /usr/bin/locale:67:544: missing terminating " character /usr/bin/locale:1:409: possible start of unterminated string literal In file included from /d0/20021203-0635/akamai/common/include/Mapper/Dispatcher/TPS_Types.h:6, from /d0/20021203-0635/akamai/common/include/Mapper/Dispatcher/pingState.h:67, from /d0/20021203-0635/akamai/mapDispatcher/pingState.cc:9: /d0/20021203-0635/akamai/common/include/akamai/utils/ak_icmp.h:224:7: warning: no newline at end of file ERROR: could not compute dependencies mapDispatcher/pingState.cc make-3.79.1-aka-2[1]: *** [/d0/20021203-0635/akamai/mapDispatcher/pingState.cc.d] Error 1 Here's the full compiler version: root@esiejtest3:/usr/local/include/c++/3.2.1# gcc -v Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/specs Configured with: /usr/local/src/gcc-3.2.1/configure --prefix=/usr/local --with-gun-as --with-gnu-ld Thread model: posix gcc version 3.2.1 root@esiejtest3:/usr/local/include/c++/3.2.1# gcc --version gcc (GCC) 3.2.1 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. root@esiejtest3:/usr/local/include/c++/3.2.1# >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: