[PATCH] Update newlib so that it passes libc++'s tests

Joseph S. Myers joseph@codesourcery.com
Thu Dec 19 09:50:00 GMT 2013


On Wed, 18 Dec 2013, JF Bastien wrote:

> #elif defined(__WCHAR_UNSIGNED__) || (L'\0' - 1 > 0)
> #define WCHAR_MAX (0xffffffffu + L'\0')
> #else
> #define WCHAR_MAX (0x7fffffffu + L'\0')

You don't want the "u" suffix in this #else case (signed wchar_t).

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Newlib mailing list