Opened 19 years ago
Closed 19 years ago
#164 closed Bugs (Invalid)
test static_assert/static_assert_example_1.cpp is invalid
Reported by: | vsysolts | Owned by: | John Maddock |
---|---|---|---|
Milestone: | Component: | static_assert | |
Version: | None | Severity: | |
Keywords: | Cc: |
Description
In this test BOOST_STATIC_ASSERT is used with condition: WCHAR_MIN >= 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.
Note:
See TracTickets
for help on using tickets.