stdcxx-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <>
Subject [jira] Created: (STDCXX-991) [EDG eccp] mbstate_t not defined in <wchar.h>
Date Fri, 11 Jul 2008 17:00:31 GMT
[EDG eccp] mbstate_t not defined in <wchar.h>

                 Key: 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
            Priority: Critical
             Fix For: 4.2.2

The program below fails to compile with eccp 3.9 with the head of 4.2.x (and most likely 4.2.1):

$ 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
      mbstate_t st;

1 error detected in the compilation of "t.cpp".
make: *** [t] Error 2

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message