Comment 1 for bug 1282140

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

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.