id summary reporter owner description type status milestone component version severity resolution keywords cc 11043 test test_tools_test fails if char is unsigned Ed Vogel Gennadiy Rozental "Greetings, (I hope it's OK to report this kind of thing) I believe there is a problem with the boost test library test test_tools_test. Part of that test is: char ch1 = -2; char ch2 = -3; BOOST_CHECK_EQUAL(ch1, ch2); The line in the .pattern file that corresponds to this is: 376: error in ""test_BOOST_CHECK_EQUAL"": check ch1 == ch2 failed [0xfffffffe != 0 xfffffffd] While this is fine if char is a signed type, I believe it is wrong if char is unsigned. In this case the output should be: ......check ch1 == ch2 failed [0xfe != 0xfd] Not a big deal, but the test could be updated to use a different pattern file (as the errors_handling_test does) in this case. It's interesting I did not find any general boost configuration macros for systems that chose char to be unsigned. Thank you for your time, Ed Vogel " Bugs closed To Be Determined test Boost 1.56.0 Problem wontfix