Closed ian-ross closed 9 years ago
Not obvious what to do about this. The C99 standard says:
The value of an integer character constant containing more than one character (e.g.,
'ab'
), or containing a character or escape sequence that does not map to a single-byte execution character, is implementation-defined.
and language-c
raises a corresponding error if you try to do anything that accesses the integer value of a multi-character constant.
Bug imported from C2HS Trac
Trac ticket created: 2009-02-16T15:23:33-0800
Mac OSX libraries are full of the following:
enum { kClippingCreator = 'drag', kClippingPictureType = 'clpp', kClippingTextType = 'clpt', kClippingSoundType = 'clps', kClippingUnknownType = 'clpu' };
c2hs has problems dealing with 'characters' in enum definition.
This problem prevents ApplicationServices from being parsed and this constitutes for the most of Mac OSX API