You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2008/07/11 22:00:31 UTC

[jira] Resolved: (STDCXX-991) [EDG eccp] mbstate_t not defined in

     [ https://issues.apache.org/jira/browse/STDCXX-991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor resolved STDCXX-991.
---------------------------------

    Resolution: Fixed

Even though the config test for {{mbstate_t}} passes, for some unknown reason the {{\_RWSTD_NO_MBSTATE_T}} macro was hardwired in {{\_config-eccp.h}}. Definition removed in [r676063|http://svn.apache.org/viewcvs?view=rev&rev=676063].

> [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.