Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 87577 invoked from network); 11 Jun 2008 18:49:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jun 2008 18:49:08 -0000 Received: (qmail 56732 invoked by uid 500); 11 Jun 2008 18:49:10 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 56720 invoked by uid 500); 11 Jun 2008 18:49:10 -0000 Mailing-List: contact issues-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list issues@stdcxx.apache.org Received: (qmail 56397 invoked by uid 99); 11 Jun 2008 18:49:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jun 2008 11:49:09 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jun 2008 18:48:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 92247234C139 for ; Wed, 11 Jun 2008 11:48:45 -0700 (PDT) Message-ID: <57848860.1213210125597.JavaMail.jira@brutus> Date: Wed, 11 Jun 2008 11:48:45 -0700 (PDT) From: "Eric Lemings (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Assigned: (STDCXX-902) [gcc 4.0.1/Darwin 8] Compile error in tests/strings/21.cwctype.cpp In-Reply-To: <2106015696.1209492956391.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-902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Lemings reassigned STDCXX-902: ----------------------------------- Assignee: Eric Lemings > [gcc 4.0.1/Darwin 8] Compile error in tests/strings/21.cwctype.cpp > ------------------------------------------------------------------ > > Key: STDCXX-902 > URL: https://issues.apache.org/jira/browse/STDCXX-902 > Project: C++ Standard Library > Issue Type: Bug > Affects Versions: 4.2.1 > Environment: Darwin host1 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386 > Reporter: Eric Lemings > Assignee: Eric Lemings > Priority: Minor > Fix For: 4.2.2 > > Original Estimate: 2h > Remaining Estimate: 2h > > The tests/strings/21.cwctype.cpp source file fails to compile with these errors: > gcc -c -I/private/tmp/stdcxx/src/stdcxx-4.2.0/include/ansi -I/private/tmp/stdcxx/src/stdcxx-4.2.0/include -I/tmp/stdcxx/build/stdcxx-4.2.0/include -I/private/tmp/stdcxx/src/stdcxx-4.2.0/tests/include -pedantic -nostdinc++ -O2 -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align /private/tmp/stdcxx/src/stdcxx-4.2.0/tests/strings/21.cwctype.cpp > /private/tmp/stdcxx/src/stdcxx-4.2.0/tests/strings/21.cwctype.cpp:306: error: template declaration of 'int std::__istype' > /private/tmp/stdcxx/src/stdcxx-4.2.0/tests/strings/21.cwctype.cpp:306: error: expected primary-expression before ')' token > ... > /private/tmp/stdcxx/src/stdcxx-4.2.0/tests/strings/21.cwctype.cpp:310: error: template declaration of 'int std::__istype' > /private/tmp/stdcxx/src/stdcxx-4.2.0/tests/strings/21.cwctype.cpp:310: error: expected primary-expression before ')' token > /private/tmp/stdcxx/src/stdcxx-4.2.0/tests/strings/21.cwctype.cpp: In function 'void test_behavior()': > /private/tmp/stdcxx/src/stdcxx-4.2.0/tests/strings/21.cwctype.cpp:791: error: '__istype' is not a member of 'std' > ... > /private/tmp/stdcxx/src/stdcxx-4.2.0/tests/strings/21.cwctype.cpp:863: error: '__istype' is not a member of 'std' > make: *** [21.cwctype.o] Error 1 > make: Target `all' not remade because of errors. > This is because the C/C++ preprocessor on Darwin distinguishes {{#undef isdigit}} and {{#undef isdigit(x)}} as seperate directives with different semantics. Need to add directives for the latter form. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.