Boost logo

Boost Users :

Subject: [Boost-users] [test] BOOST_CHECK_EQUAL and wchar_t
From: Alexander (gutenev_at_[hidden])
Date: 2009-02-10 04:39:10


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 ?


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