[ https://issues.apache.org/jira/browse/STDCXX-588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor updated STDCXX-588: -------------------------------- Summary: [EDG eccp/Linux] errors on wcschr() etc. in <ansi/wchar.h> (was: [EDG eccp/Linux]) Completed summary. > [EDG eccp/Linux] errors on wcschr() etc. in <ansi/wchar.h> > ---------------------------------------------------------- > > Key: STDCXX-588 > URL: https://issues.apache.org/jira/browse/STDCXX-588 > Project: C++ Standard Library > Issue Type: Bug > Components: Build > Affects Versions: trunk > Environment: EDG eccp 3.10 with gcc 3.3.3 on SUSE LINUX Enterprise > Server 9 (x86_64). > Reporter: Martin Sebor > Assignee: Martin Sebor > Priority: Blocker > Fix For: 4.2 > > > The library fails to build with EDG eccp 3.10 (and likely prior versions) on > top of gcc 3.3.3 on SUSE Linux 9 with the errors below: > eccp -c -I/amd/devco/sebor/stdcxx/include/ansi -D_RWSTDDEBUG > -I/amd/devco/sebor/stdcxx/include -I/build/sebor/stdcxx-eccp-3.10-11s/include > -A -x --template_directory=/build/sebor/stdcxx-eccp-3.10-11s/lib -g > --display_error_number --remarks --diag_suppress > 193,236,340,401,261,479,487,678,679,815 > /amd/devco/sebor/stdcxx/src/file.cpp > "/amd/devco/sebor/stdcxx/include/ansi/wchar.h", line 307: error #338: more > than one instance of overloaded function "wcschr" has "C" linkage > wcschr (const wchar_t *__s, wchar_t __c) > ^ > "/amd/devco/sebor/stdcxx/include/ansi/wchar.h", line 325: error #338: more > than one instance of overloaded function "wcsrchr" has "C" linkage > wcsrchr (const wchar_t *__s, wchar_t __c) > ^ > "/amd/devco/sebor/stdcxx/include/ansi/wchar.h", line 343: error #338: more > than one instance of overloaded function "wcsstr" has "C" linkage > wcsstr (const wchar_t *__s1, const wchar_t *__s2) > ^ > "/amd/devco/sebor/stdcxx/include/ansi/wchar.h", line 361: error #338: more > than one instance of overloaded function "wmemchr" has "C" linkage > wmemchr (const wchar_t *__s, wchar_t __c, _RWSTD_SIZE_T __n) > ^ > "/amd/devco/sebor/stdcxx/include/ansi/wchar.h", line 325: error #247: function > "wcsrchr(const wchar_t *, wchar_t) C" has already been defined > wcsrchr (const wchar_t *__s, wchar_t __c) > ^ > 5 errors detected in the compilation of > "/amd/devco/sebor/stdcxx/src/file.cpp". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.