Bug#285396: [ARM] wide chars don't work
Philip Blundell <pb@reciva.com> writes:
> On Mon, 2005-01-24 at 12:04 -0500, Branden Robinson wrote:
>> After discussing this with Keith Packard on IRC, I'm going to apply this
>> patch with a guard on it:
>>
>> #if defined(__GNUC__) && defined(__arm__)
>>
>> Everyone seems to find the patch esthetically abhorrent, but it also
>> appears to be necessary and unavoidable for ARM users.
>>
>> If someone in the ARM community would task themselves with filing a bug
>> when the ARM EABI happens, and let me (well, the Debian X Strike Force
>> generally) know how I can test for it using the preprocessor, I would
>> appreciate it.
>
> I think that:
>
> #if defined(__GNUC__) && defined(__arm__) && !defined(__ARM_EABI__)
>
> will do what you need both now and in the future.
It might also be a good idea to add a compile time assertion like
extern char _unused[sizeof (XChar2b) == 2 ? 1 : -1];
--
Falk
Reply to: