Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-588

[EDG eccp/Linux] errors on wcschr() etc. in <ansi/wchar.h>

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 4.2.0
    • Build and Installation
    • None
    • EDG eccp 3.10 with gcc 3.3.3 on SUSE LINUX Enterprise Server 9 (x86_64).

    • Compiler Error

    Description

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

      Attachments

        Activity

          People

            sebor Martin Sebor
            sebor Martin Sebor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: