Boost C++ Libraries: Ticket #1293: system_error_test doesn't take into account internationalization https://svn.boost.org/trac10/ticket/1293 <p> I'm using bcc32 5.9.2 on an italian version of Windows XP SP2. system_error_test fails because the strings returned by the what() member function are not the expected ones. However the ones returned appear to be simple translations of the original ones. Here's my text output: </p> <p> test se_0_m </p> <blockquote> <p> what() returns "se_0_m" </p> </blockquote> <p> test se_1_m </p> <blockquote> <p> what() returns "se_1_m: Funzione non corretta" </p> </blockquote> <p> ..\libs\system\test\system_error_test.cpp(44): test std::string( ex.what() ) == str failed in function: 'test' expected "se_1_m: Incorrect function", but what() returned "se_1_m: Funzione non corretta" test se_0_nm </p> <blockquote> <p> what() returns "" </p> </blockquote> <p> test se_1_nm </p> <blockquote> <p> what() returns "Funzione non corretta" </p> </blockquote> <p> ..\libs\system\test\system_error_test.cpp(44): test std::string( ex.what() ) == str failed in function: 'test' expected "Incorrect function", but what() returned "Funzione non corretta" test se_0_nmx </p> <blockquote> <p> what() returns "" </p> </blockquote> <p> test se_1_nmx </p> <blockquote> <p> what() returns "Funzione non corretta" </p> </blockquote> <p> ..\libs\system\test\system_error_test.cpp(44): test std::string( ex.what() ) == str failed in function: 'test' expected "Incorrect function", but what() returned "Funzione non corretta" test se_1u_m </p> <blockquote> <p> what() returns "se_1u_m: Funzione non corretta" </p> </blockquote> <p> ..\libs\system\test\system_error_test.cpp(44): test std::string( ex.what() ) == str failed in function: 'test' expected "se_1u_m: Incorrect function", but what() returned "se_1u_m: Funzione non corretta" </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1293 Trac 1.4.3 René Rivera Sun, 30 Sep 2007 21:12:50 GMT component changed https://svn.boost.org/trac10/ticket/1293#comment:1 https://svn.boost.org/trac10/ticket/1293#comment:1 <ul> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">system</span> </li> </ul> Ticket Beman Dawes Mon, 01 Oct 2007 01:57:36 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/1293#comment:2 https://svn.boost.org/trac10/ticket/1293#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.35.0</span> </li> </ul> <p> I saw those test results yesterday and have already committed a fix. </p> <p> Thanks for testing! It is a real help to have tests run on a machine configured for a language other than English. </p> <p> --Beman </p> Ticket