Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 35031 invoked from network); 29 Apr 2008 18:19:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Apr 2008 18:19:40 -0000 Received: (qmail 32237 invoked by uid 500); 29 Apr 2008 18:19:42 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 32217 invoked by uid 500); 29 Apr 2008 18:19:42 -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 32206 invoked by uid 99); 29 Apr 2008 18:19:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Apr 2008 11:19:42 -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; Tue, 29 Apr 2008 18:18:57 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 63441234C0E1 for ; Tue, 29 Apr 2008 11:15:56 -0700 (PDT) Message-ID: <2106015696.1209492956391.JavaMail.jira@brutus> Date: Tue, 29 Apr 2008 11:15:56 -0700 (PDT) From: "Eric Lemings (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Created: (STDCXX-902) [gcc 4.0.1/Darwin 8 and 9] Compile error in tests/strings/21.cwctype.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [gcc 4.0.1/Darwin 8 and 9] 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 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 Darwin host2 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar 4 21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 i386 Reporter: Eric Lemings 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.