It is correct for std::numberic_limits<wchar_t>::min() to be -2147483648, as per standard it is not specified if wchar_t is signed or unsigned value. If explicitly unsigned values are desired char16_t or char32_t should be used, as those are unsigned.
Looking at upstream test results http://www.boost.org/development/tests/develop/developer/spirit.html the test only passes on those configurations where wchar_t is unsigned (e.g. android/windows) and not on any other platforms. Thus this is an upstream bug that should be forwarded to boost bug tracker.
It is correct for std::numberic_ limits< wchar_t> ::min() to be -2147483648, as per standard it is not specified if wchar_t is signed or unsigned value. If explicitly unsigned values are desired char16_t or char32_t should be used, as those are unsigned. www.boost. org/development /tests/ develop/ developer/ spirit. html the test only passes on those configurations where wchar_t is unsigned (e.g. android/windows) and not on any other platforms. Thus this is an upstream bug that should be forwarded to boost bug tracker.
Looking at upstream test results http://