Boost logo

Boost Users :

Subject: Re: [Boost-users] [test] BOOST_CHECK_EQUAL and wchar_t
From: Max (loadcom_at_[hidden])
Date: 2009-02-11 01:03:16


> The following code:
>
> BOOST_CHECK_EQUAL("boo", "boo");
> BOOST_CHECK_EQUAL("boo", "bar");
> BOOST_CHECK_EQUAL(L"boo", L"boo");
> BOOST_CHECK_EQUAL(L"boo", L"bar");
>
> Gives the following results
>
>
> test.cpp(368): error in "Strings": check "boo" == "bar" failed [boo !=
bar]
> test.cpp(370): error in "Strings": check L"boo" == L"bar" failed [00B6FAA4
> != 00B6FA90]
>
> Can this be fixed ?
>

Is this unexpected behavior?

B/Rgds
Max


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net