[
https://issues.apache.org/jira/browse/STDCXX-902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Lemings resolved STDCXX-902.
---------------------------------
Resolution: Cannot Reproduce
Hmm. This must have been fixed in a 10.4 update.
> [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.