[gcc 4.3.0] unsat on rwtest_codecvt_result(int)
-----------------------------------------------

                 Key: STDCXX-915
                 URL: https://issues.apache.org/jira/browse/STDCXX-915
             Project: C++ Standard Library
          Issue Type: Bug
          Components: Tests
    Affects Versions: 4.2.x
         Environment: gcc 4.3.0
            Reporter: Martin Sebor
            Assignee: Eric Lemings
             Fix For: 4.2.2


The newly added test 
[{{22.locale.codecvt.cpp}}|http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/tests/localization/22.locale.codecvt.cpp?view=markup&pathrev=653622]
 fails to link with gcc 4.3.0 with the following error:

{noformat}
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
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to