Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 13011 invoked from network); 27 Sep 2007 01:11:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Sep 2007 01:11:24 -0000 Received: (qmail 91510 invoked by uid 500); 27 Sep 2007 01:11:14 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 91492 invoked by uid 500); 27 Sep 2007 01:11:14 -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 91481 invoked by uid 99); 27 Sep 2007 01:11:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2007 18:11:14 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2007 01:13:30 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8B015714035 for ; Wed, 26 Sep 2007 18:10:50 -0700 (PDT) Message-ID: <30138355.1190855450559.JavaMail.jira@brutus> Date: Wed, 26 Sep 2007 18:10:50 -0700 (PDT) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Assigned: (STDCXX-572) [gcc 4/Mac OS X] localedef error on macro tolower In-Reply-To: <27928549.1190855210807.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor reassigned STDCXX-572: ----------------------------------- Assignee: Martin Sebor > [gcc 4/Mac OS X] localedef error on macro tolower > ------------------------------------------------- > > Key: STDCXX-572 > URL: https://issues.apache.org/jira/browse/STDCXX-572 > Project: C++ Standard Library > Issue Type: Bug > Components: Utilities > Affects Versions: 4.1.2, 4.1.3, 4.1.4 > Reporter: Martin Sebor > Assignee: Martin Sebor > Priority: Critical > Fix For: 4.2 > > > The localedef (and locale) utilities fail to compile with gcc 4 on Mac OS X in optimized mode with the error below: > $ nice make BUILDTYPE=12d BUILDDIR=/build/sebor/stdcxx-gcc-4.0.1-12d > GNUmakefile:309: "CONFIG not specified, using gcc.config" > creating BUILDDIR=/build/sebor/stdcxx-gcc-4.0.1-12d > generating /build/sebor/stdcxx-gcc-4.0.1-12d/makefile.in from /Users/sebor/stdcxx/etc/config/gcc.config > make config > configuring stdcxx 4.2.0 for gcc-4.0.1 on darwin-8.7.1-i386 > checking if the compiler is sane ok (invoked with gcc) > checking if the linker is sane ok (invoked with gcc) > checking system architecture ILP32 little endian > ... > gcc -c -I/Users/sebor/stdcxx/include/ansi -I/Users/sebor/stdcxx/include -I/build/sebor/stdcxx-gcc-4.0.1-12d/include -pedantic -nostdinc++ -O2 -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align /Users/sebor/stdcxx/util/aliases.cpp > /Users/sebor/stdcxx/util/aliases.cpp:352:46: error: macro "tolower" passed 2 arguments, but takes just 1 > /Users/sebor/stdcxx/util/aliases.cpp:353:46: error: macro "tolower" passed 2 arguments, but takes just 1 > /Users/sebor/stdcxx/util/aliases.cpp: In function 'int ci_pre_compare(const std::string&, const std::string&)': > /Users/sebor/stdcxx/util/aliases.cpp:353: error: invalid operands of types '' and '' to binary 'operator!=' > make[2]: *** [aliases.o] Error 1 > make[1]: *** [util] Error 2 > make: *** [libstd] Error 2 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.