On Wed, Mar 31, 2010, Juli Mallett wrote: > Be like stdlib.h and bring in a wchar_t definition and use it to prototype > wcstoimax and wcstoumax, rather than spelling it __wchar_t. This is > necessary > to use these functions in C++ where wchar_t is different to __wchar_t and is > a built-in type.
I don't think this change is correct for C mode. POSIX says wchar_t is *supposed* to be defined by stdlib.h and wchar.h, but its definition is namespace pollution elsewhere. > It may be better to use __wchar_t here and to simply define __wchar_t as > being > wchar_t in C++ mode rather than to bring in wchar_t That may be better. _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"