Boost logo

Boost Users :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2007-10-26 01:31:19


"Mignon Belongie" <mignon_at_[hidden]> wrote in message
news:AC4B9FAD-6D7B-4850-BC14-DA6B25C9E438_at_atomiclabs.com...
> The following causes a fatal error (at least for me):
>
> char c1 = -2;
> char c2 = -2;
> BOOST_CHECK_EQUAL(c1, c2);
>
> The message is: Assertion failed: (unsigned)(c + 1) <= 256

I've put a fix into source, even though it's not really Boost.Test problem.
This is an error message produced by isprint.

Gennadiy


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