[
https://issues.apache.org/jira/browse/STDCXX-733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570500#action_12570500
]
Martin Sebor commented on STDCXX-733:
-------------------------------------
The
{{[LCONV.cpp|http://svn.apache.org/repos/asf/stdcxx/trunk/etc/config/src/LCONV.cpp]}}
test fails to compile on trunk with the following error:
{noformat}
eccp -D_RWSTDDEBUG -I. -A -x
--template_directory=/build/sebor/stdcxx-eccp-3.9-11s/lib \
-g --display_error_number --remarks --diag_suppress
193,236,340,401,261,479,487,678,679,815 \
-c /home/sebor/stdcxx/etc/config/src/LCONV.cpp -o LCONV.o
"/home/sebor/stdcxx/etc/config/src/LCONV.cpp", line 64: error #254: type name
is not allowed
ENTRY ("char*", decimal_point, ""),
^
{noformat}
...and many more like it. Checking {{config.log}} the
{{[OFFSETOF.cpp|http://svn.apache.org/repos/asf/stdcxx/trunk/etc/config/src/OFFSETOF.cpp]}}
test that {{LCONV.cpp}} depends gets processed *after* it rather than before
it, suggesting that something is wrong with
{{[GNUmakefile.cfg|http://svn.apache.org/repos/asf/stdcxx/trunk/etc/config/GNUmakefile.cfg]}}:
{noformat}
$ cat -n /build/sebor/stdcxx-eccp-3.9-11s/include/config.h | grep -e LCONV -e
OFFSETOF
527 #define _RWSTD_NO_LCONV
528 #define _RWSTD_NO_LCONV_INT_FMAT
696 #define _RWSTD_NO_OFFSETOF
{noformat}
In 4.2.0, the order is correct:
{noformat}
$ cat -n /build/sebor/stdcxx-4.2.0-eccp-3.9-11s/include/config.h | grep -e
LCONV -e OFFSETOF
551 #define _RWSTD_NO_OFFSETOF
552 #define _RWSTD_NO_LCONV_INT_FMAT
553 // #define _RWSTD_NO_LCONV
554 #define _RWSTD_LCONV { /* sizeof (lconv) == 56 */ \
{noformat}
> [EDG eccp 3.9] incomplete type error on lconv in codecvt.cpp
> ------------------------------------------------------------
>
> Key: STDCXX-733
> URL: https://issues.apache.org/jira/browse/STDCXX-733
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Build
> Affects Versions: trunk
> Environment: eccp 3.9 on Linux, with gcc 4.1.2 on the back end
> Reporter: Martin Sebor
> Priority: Blocker
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> This works in stdcxx 4.2.0 but not with the the head of trunk:
> eccp -c -I/home/sebor/stdcxx/include/ansi -D_RWSTDDEBUG
> -I/home/sebor/stdcxx/include -I/build/sebor/stdcxx-eccp-3.9-11s/include -A
> -x --template_directory=/build/sebor/stdcxx-eccp-3.9-11s/lib -g
> --display_error_number --remarks --diag_suppress
> 193,236,340,401,261,479,487,678,679,815 /home/sebor/stdcxx/src/codecvt.cpp
> "/home/sebor/stdcxx/include/ansi/_clocale.h", line 71: error #70: incomplete
> type is not allowed
> struct lconv _RWSTD_LCONV;
> ^
> 1 error detected in the compilation of "/home/sebor/stdcxx/src/codecvt.cpp".
> make: *** [codecvt.o] Error 2
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.