RE: Boost.Test and mingw (Was: [boost] [1.32 release] Intel 8.0/M ingw regression results)

Hi, Hi Volodya, There are some lines in test_tools.cpp to work around this but are defined only for GCC 3.3 and I am using 3.2 :-( There was a discussion on this isssue (I think) 2 days ago: http://lists.boost.org/MailArchives/boost/msg67745.php Where Gennadiy says he wil fix it. But that has not made it into cvs yet. This is the cause of a lot of errors in the report. I "hacked" around it locally by also testing for GCC 3.2 and that clears up a lot of the problems. I could post a diff for what I changed locally, but it is not a nice solution. I simply changed the == sign in the test for minor version to <= . The test discussed in the mail is better I guess. Kind regards, Rob Lievaart. Vladimir Prus wrote:
Aleksey Gurtovoy wrote:
Stefan Slapeta's Intel 8.0 and Rob Lievaart's Mingw/gcc 3.2.3 results are now available in the Boost-wide summary reports:
It shows that Boost.Test fails to build at mingw, with this error:
Z:/regression/boost/libs/test/src/test_tools.cpp: In function `bool
boost::test_tools::tt_detail::equal_and_continue_impl(const wchar_t*,
const
wchar_t*, boost::wrap_stringstream&,
boost::unit_test::basic_cstring<const
char>, unsigned int, boost::unit_test::log_level)':
Z:/regression/boost/libs/test/src/test_tools.cpp:190: `wcscmp' undeclared
in
namespace `std'
Any ideas how to fix this?

On Thu, Jul 22, 2004 at 08:46:36AM +0200, Rob Lievaart wrote:
Hi,
Hi Volodya,
There are some lines in test_tools.cpp to work around this but are defined only for GCC 3.3 and I am using 3.2 :-( There was a discussion on this isssue (I think) 2 days ago:
http://lists.boost.org/MailArchives/boost/msg67745.php
Where Gennadiy says he wil fix it. But that has not made it into cvs yet. This is the cause of a lot of errors in the report. I "hacked" around it locally by also testing for GCC 3.2 and that clears up a lot of the problems.
I could post a diff for what I changed locally, but it is not a nice solution. I simply changed the == sign in the test for minor version to <= . The test discussed in the mail is better I guess.
Yes, someone please check in my fix if nothing better has been worked out. The issue affects GCC 3.4 as well , so __GNUC_MINOR__ <= 3 is not a good test! jon
Vladimir Prus wrote:
Aleksey Gurtovoy wrote:
Stefan Slapeta's Intel 8.0 and Rob Lievaart's Mingw/gcc 3.2.3 results are now available in the Boost-wide summary reports:
It shows that Boost.Test fails to build at mingw, with this error:
Z:/regression/boost/libs/test/src/test_tools.cpp: In function `bool
boost::test_tools::tt_detail::equal_and_continue_impl(const wchar_t*,
const
wchar_t*, boost::wrap_stringstream&,
boost::unit_test::basic_cstring<const
char>, unsigned int, boost::unit_test::log_level)':
Z:/regression/boost/libs/test/src/test_tools.cpp:190: `wcscmp' undeclared
in
namespace `std'
Any ideas how to fix this?
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
-- "An alcoholic is someone you don't like who drinks as much as you do." - Dylan Thomas

Where Gennadiy says he wil fix it. But that has not made it into cvs yet. This is the cause of a lot of errors in the report.
Fix is in cvs. Lets see what next regression test show. Gennadiy.
participants (3)
-
Gennadiy Rozental
-
Jonathan Wakely
-
Rob Lievaart