[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Synce-devel] -fshort-wchar
On Wed, 17 Oct 2001, David Eriksson wrote:
> The issue is that only the latest versions of gcc (gcc 3 & redhat's gcc)
> has the -fshort-wchar parameter...
>
> What happens is that if the configure script detects that the compiler has
> the -fshort-wchar flag, SHORT_WCHAR_FLAGS will be set to "-fshort-wchar".
>
> If the compiler does not have this flag, SHORT_WCHAR_FLAGS will be set to
> "-U__WCHAR_TYPE__ -D__WCHAR_TYPE__=short\ unsigned\ int".
>
> Is this good?
Some question: why you really need to change the size of wchar_t? Can't
you use some other mechanism? I think this will make Synce incompatible
with some other libraries which use wchar_t for real Unicode strings...
CCing linux-utf8,
roozbeh
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/