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