|
From: Bart V. A. <bva...@ac...> - 2012-08-24 15:41:15
|
On 08/24/12 14:44, sv...@va... wrote: > sewardj 2012-08-24 15:44:27 +0100 (Fri, 24 Aug 2012) > > New Revision: 12893 > > Log: > Implement a wrapper for wcslen on Linux, assuming that > sizeof(wchar_t) == 4, which I believe to be true on both Linux > and MacOSX. Fixes #298281. >From http://gcc.gnu.org/onlinedocs/gcc-4.5.4/gcc/Code-Gen-Options.html: -fshort-wchar Override the underlying type for `wchar_t' to be `short unsigned int' instead of the default for the target. This option is useful for building programs to run under WINE. Warning: the -fshort-wchar switch causes GCC to generate code that is not binary compatible with code generated without that switch. Use it to conform to a non-default application binary interface. Bart. |