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

[gcc 4.3.0] unsat on rwtest_codecvt_result(int)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.2.x
    • 4.2.2
    • Tests
    • None
    • gcc 4.3.0

    • Linker Error

    Description

      The newly added test 22.locale.codecvt.cpp fails to link with gcc 4.3.0 with the following error:

      gcc -c -I/home/sebor/stdcxx-4.2.x/include/ansi -D_RWSTDDEBUG   -pthread -I/home/sebor/stdcxx-4.2.x/include -I/build/sebor/stdcxx-4.2.x-gcc-4.3.0-15D/include -I/home/sebor/stdcxx-4.2.x/tests/include  -pedantic -nostdinc++ -g   -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align   /home/sebor/stdcxx-4.2.x/tests/localization/22.locale.codecvt.cpp
      /home/sebor/stdcxx-4.2.x/tests/localization/22.locale.codecvt.cpp: In function 'void test_inout(int, int, const char*, const char*, size_t, size_t, const internT*, size_t, size_t, std::codecvt_base::result) [with internT = wchar_t]':
      /home/sebor/stdcxx-4.2.x/tests/localization/22.locale.codecvt.cpp:2333:   instantiated from here
      /home/sebor/stdcxx-4.2.x/tests/localization/22.locale.codecvt.cpp:1460: warning: suggest parentheses around && within ||
      /home/sebor/stdcxx-4.2.x/tests/localization/22.locale.codecvt.cpp:1557: warning: suggest parentheses around && within ||
      /home/sebor/stdcxx-4.2.x/tests/localization/22.locale.codecvt.cpp: At global scope:
      /home/sebor/stdcxx-4.2.x/tests/localization/22.locale.codecvt.cpp:1349: warning: unused parameter 'line'
      gcc 22.locale.codecvt.o -o 22.locale.codecvt -L/build/sebor/stdcxx-4.2.x-gcc-4.3.0-15D/rwtest -lrwtest15D -pthread  -L/build/sebor/stdcxx-4.2.x-gcc-4.3.0-15D/lib  -Wl,-R/build/sebor/stdcxx-4.2.x-gcc-4.3.0-15D/lib:/build/sebor/stdcxx-4.2.x-gcc-4.3.0-15D/rwtest -lstd15D -lsupc++ -lm 
      22.locale.codecvt.o: In function `rwtest_codecvt_result':
      /home/sebor/stdcxx-4.2.x/tests/localization/22.locale.codecvt.cpp:408: undefined reference to `rwtest_codecvt_result(int)'
      collect2: ld returned 1 exit status
      make[2]: *** [22.locale.codecvt] Error 1
      

      Attachments

        Activity

          People

            elemings Eric Lemings
            sebor Martin Sebor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Time Spent - 0.5h Remaining Estimate - 1.5h
                1.5h
                Logged:
                Time Spent - 0.5h Remaining Estimate - 1.5h
                0.5h