subject: build warnings: ... unsigned only in ISO C90

Stephan Bergmann sbergman at redhat.com
Tue Sep 3 01:47:27 PDT 2013


On 09/03/2013 09:15 AM, Tor Lillqvist wrote:
> dougmencken had the same issue. He of course is using a toolchain and
> SDK we don't support any more (building for OS X 10.5 on PowerPC, with
> gcc 4.2 I think), but maybe this is a more general problem then, also
> for supported configurations?
>
> The exact problem, if I recall from IRC, is with
> the TransliterationModules::IGNORE_MASK
> in offapi/com/sun/star/i18n/TransliterationModules.idl . Its value in
> IDL is -0x100, and in the generated header it shows up as 4294967040.

Ah, this is a bug in cppumaker.  UNO enum members must have numeric 
values in the range [-2^31 ... 2^31 - 1] (cf. 
<http://www.openoffice.org/udk/common/man/typesystem.html>), so 
cppumaker should emit that as -256 rather than 4294967040.  Fix to follow.

Stephan


More information about the LibreOffice mailing list