Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
4.2.1
-
None
-
EDG eccp 3.9
-
Compiler Error
Description
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 referenced mbstate_t st; ^ 1 error detected in the compilation of "t.cpp". make: *** [t] Error 2