id summary reporter owner description type status milestone component version severity resolution keywords cc 11566 atomic: int_sizes with MSVC 8 (ARM) problem due to definition of WCHAR_MAX Florian Huber timblechmann "For the Windows CE (ARM compiler) of VC 8 (15.00) the WCHAR_MAX seems also to be defined in a ""strange"" way: {{{ #define WCHAR_MAX ((wchar_t)-1) }}} This causes the [https://github.com/boostorg/atomic/blob/master/include/boost/atomic/detail/int_sizes.hpp#L123 line] to break. For me changing the line 120 to {{{ #if defined(_MSC_VER) && ( _MSC_VER <= 1310 || defined(UNDER_CE) && _MSC_VER <= 1500 ) }}} works. NB: The definition of WCHAR_MAX was changed in 15.01 to #define WCHAR_MAX 0xffff " Bugs closed To Be Determined atomic Boost 1.59.0 Problem fixed