From stdcxx-dev-return-1421-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Thu Jun 01 17:06:24 2006 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 17913 invoked from network); 1 Jun 2006 17:06:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Jun 2006 17:06:23 -0000 Received: (qmail 29140 invoked by uid 500); 1 Jun 2006 17:06:23 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 29088 invoked by uid 500); 1 Jun 2006 17:06:23 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 29077 invoked by uid 99); 1 Jun 2006 17:06:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2006 10:06:23 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2006 10:06:22 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CDDC67142B7 for ; Thu, 1 Jun 2006 17:05:29 +0000 (GMT) Message-ID: <12564911.1149181529840.JavaMail.jira@brutus> Date: Thu, 1 Jun 2006 17:05:29 +0000 (GMT+00:00) From: "Eric Lemings (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Created: (STDCXX-193) On Mac OS X 10.4.6 Tiger (Darwin), executables in $(BUILDDIR)/include are included before $(TOPDIR)/include MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Mac OS X 10.4.6 Tiger (Darwin), executables in $(BUILDDIR)/include are included before $(TOPDIR)/include ----------------------------------------------------------------------------------------------------------- Key: STDCXX-193 URL: http://issues.apache.org/jira/browse/STDCXX-193 Project: C++ Standard Library Type: Bug Components: Build Versions: 4.1.3, 4.1.4 Environment: Darwin machine.local 8.6.1 Darwin Kernel Version 8.6.1: Tue Mar 7 16:55:45 PST 2006; root:xnu-792.9.22.obj~1/RELEASE_I386 i386 i386 Reporter: Eric Lemings That may sound weird but that's what's happening. On Mac OS X, the HFS file system is case-insensitive. Because of this and the order of include paths defined by $(INCLUDES) in etc/config/makefile.common, one or more of the executables for the configuration checks which have the same filename as standard header files (e.g. LIMITS) are found first and included in the source files by the compiler. Output from an example build: machine:~/Build/stdcxx user$ make BUILDDIR=~/Build/stdcxx BUILDMODE=debug,shared,pthreads GNUmakefile:283: "CONFIG not specified, using gcc.config" creating BUILDDIR=/Users/user/Build/stdcxx generating /Users/user/Build/stdcxx/makefile.in from /Users/user/Work/stdcxx/etc/config/gcc.config make config configuring for gcc-4.0.1 on darwin-8.6.1-i386 checking if the compiler is sane ok (invoked with gcc) checking if the linker is sane ok (invoked with gcc) ... gcc -c -I/Users/user/Work/stdcxx/include/ansi -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG -I/Users/user/Build/stdcxx/include -I/Users/user/Work/stdcxx/include -pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align /Users/user/Work/stdcxx/src/codecvt.cpp gcc -c -I/Users/user/Work/stdcxx/include/ansi -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG -I/Users/user/Build/stdcxx/include -I/Users/user/Work/stdcxx/include -pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align /Users/user/Work/stdcxx/src/collate.cpp In file included from /Users/user/Work/stdcxx/src/collate.cpp:38: /Users/user/Build/stdcxx/include/limits:1: error: stray '\206' in program /Users/user/Build/stdcxx/include/limits:1: error: stray '\250' in program /Users/user/Build/stdcxx/include/limits:1: error: stray '\237' in program /Users/user/Build/stdcxx/include/limits:1: error: stray '\254' in program /Users/user/Build/stdcxx/include/limits:1: error: stray '\7' in program ... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira