Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 20 Feb 2015 08:53:02 +0200
From: Sergey Dmitrouk <sdmitrouk@...esssoftek.com>
To: Rich Felker <dalias@...c.org>
CC: "musl@...ts.openwall.com" <musl@...ts.openwall.com>
Subject: Re: wchar_t and -fshort-wchar

On Thu, Feb 19, 2015 at 08:26:02PM -0800, Rich Felker wrote:
> musl does not support configurations with under-sized definitions of
> types like 16-bit wchar_t or 32-bit off_t. Only the sizes that can
> represent the full range of values are supported. musl does however
> have the C11 uchar.h functions which can operate on char16_t, so you
> could use char16_t and the corresponding c16 conversion functions
> instead of the wc versions if that helps. What are you trying to
> achieve?

Nothing particular, -fshort-wchar is dictated by some compatibility
requirements, which are probably caused by building things on Windows,
where sizeof(wchar_t) usually equals to 2.  Maybe the flag will go away
later, if not, will try using uchar.h in case there will be a need, thanks
for the pointer.

-- 
Sergey

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.