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

[NetBSD 3.0] aliases.cpp fails to build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.4
    • 4.1.4
    • Utilities
    • None
    • gcc version 3.3.3 (NetBSD nb3 20040520)
      NetBSD 3.0

    Description

      gcc -c -I/house/ablackrw/stdcxx/include/ansi -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG -I/tmp/ablackrw/stdcxx-11d/include -I/house/ablackrw/stdcxx/include -I/house/ablackrw/stdcxx/include/loc -pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align /house/ablackrw/stdcxx/util/aliases.cpp
      /house/ablackrw/stdcxx/util/aliases.cpp: In function `void
      get_same_encoding_C_locale(const std::string&, const std::string&,
      StringVector&)':
      /house/ablackrw/stdcxx/util/aliases.cpp:442: error: `strlen' undeclared in
      namespace `std'
      /house/ablackrw/stdcxx/util/aliases.cpp: In function `std::string
      get_C_encoding_locale(const std::string&)':
      /house/ablackrw/stdcxx/util/aliases.cpp:487: error: `strlen' undeclared in
      namespace `std'
      /house/ablackrw/stdcxx/util/aliases.cpp: In function `char*
      get_installed_locales(int)':
      /house/ablackrw/stdcxx/util/aliases.cpp:584: error: `strcpy' undeclared in
      namespace `std'
      /house/ablackrw/stdcxx/util/aliases.cpp:585: error: `strcat' undeclared in
      namespace `std'
      /house/ablackrw/stdcxx/util/aliases.cpp:601: error: `strlen' undeclared in
      namespace `std'
      /house/ablackrw/stdcxx/util/aliases.cpp:604: error: `strlen' undeclared in
      namespace `std'
      /house/ablackrw/stdcxx/util/aliases.cpp:607: error: `memcpy' undeclared in
      namespace `std'
      /house/ablackrw/stdcxx/util/aliases.cpp:610: error: `strlen' undeclared in
      namespace `std'
      /house/ablackrw/stdcxx/util/aliases.cpp:628: error: `strcmp' undeclared in
      namespace `std'
      /house/ablackrw/stdcxx/util/aliases.cpp:629: error: `strcpy' undeclared in
      namespace `std'
      /house/ablackrw/stdcxx/util/aliases.cpp:630: error: `strlen' undeclared in
      namespace `std'
      /house/ablackrw/stdcxx/util/aliases.cpp:633: error: `strlen' undeclared in
      namespace `std'
      /house/ablackrw/stdcxx/util/aliases.cpp:634: error: `strcpy' undeclared in
      namespace `std'
      /house/ablackrw/stdcxx/util/aliases.cpp:638: error: `strcpy' undeclared in
      namespace `std'
      /house/ablackrw/stdcxx/util/aliases.cpp:639: error: `strlen' undeclared in
      namespace `std'

      config.h and config.log available

      Attachments

        Activity

          People

            sebor Martin Sebor
            ablack-rw Andrew Black
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: