Boost C++ Libraries: Ticket #164: test static_assert/static_assert_example_1.cpp is invalid https://svn.boost.org/trac10/ticket/164 <pre class="wiki">In this test BOOST_STATIC_ASSERT is used with condition: WCHAR_MIN &gt;= 0 But on red Hat 8.0 Linux x86 (gcc3.2, Intel compiler tried) wchar_t is signed and WCHAR_MIN = 0x80000000 = -2147483648, so assertion fails. Test must be modified to be more portable. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/164 Trac 1.4.3 John Maddock Tue, 17 Jun 2003 10:48:02 GMT status changed https://svn.boost.org/trac10/ticket/164#comment:1 https://svn.boost.org/trac10/ticket/164#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=14804 You're missing the point: the whole objective of that example is to demonstrate how to test non-portable assumptions. However I notice that it is included as part of the regression tests, and that shouldn't be the case, so I'll fix the Jamfile. Regards, John Maddock </pre> Ticket