[
https://issues.apache.org/jira/browse/STDCXX-991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Sebor reassigned STDCXX-991:
-----------------------------------
Assignee: Martin Sebor
> [EDG eccp] mbstate_t not defined in <wchar.h>
> ---------------------------------------------
>
> Key: STDCXX-991
> URL: https://issues.apache.org/jira/browse/STDCXX-991
> Project: C++ Standard Library
> Issue Type: Bug
> Components: 21. Strings
> Affects Versions: 4.2.1
> Environment: EDG eccp 3.9
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Priority: Critical
> Fix For: 4.2.2
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> The program below fails to compile with eccp 3.9 with the head of 4.2.x (and
> most likely 4.2.1):
> {noformat}
> $ cat t.cpp && make t
> #include <wchar.h>
> int main ()
> {
> mbstate_t st;
> }
> eccp -A -x --template_directory=/build/sebor/stdcxx-4.2.x-eccp-3.9-11s/lib -g
> --display_error_number --remarks --diag_suppress
> 193,236,340,401,261,479,487,678,679,815
> -I/home/sebor/stdcxx-4.2.x/include/ansi -D_RWSTDDEBUG
> -I/home/sebor/stdcxx-4.2.x/include
> -I/build/sebor/stdcxx-4.2.x-eccp-3.9-11s/include
> -I/home/sebor/stdcxx-4.2.x/examples/include
> --template_directory=/build/sebor/stdcxx-4.2.x-eccp-3.9-11s/lib
> -L/build/sebor/stdcxx-4.2.x-eccp-3.9-11s/lib t.cpp -lstd11s -lm -o t
> "t.cpp", line 5: error #20: identifier "mbstate_t" is undefined
> mbstate_t st;
> ^
> "t.cpp", line 5: warning #177-D: variable "st" was declared but never
> referenced
> mbstate_t st;
> ^
> 1 error detected in the compilation of "t.cpp".
> make: *** [t] Error 2
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.