[Libreoffice] message construction bloat ...
Stephan Bergmann
sbergman at redhat.com
Wed Nov 23 06:39:32 PST 2011
On 11/23/2011 02:52 PM, Tor Lillqvist wrote:
>> On all those that use
>> typedef signed long sal_Int32;
>
> Ah, but it still *works*, doesn't it? int is *also* 32 bits on these
> platforms, isn't it?
>
> But yeah, I guess you do get a warning from gcc.
Yes you do. For real-life problems with printf-style format strings and
our string types, witness the many uses of the SAL_PRI... macros, and
the even more common occurrences of all sorts of casts (which are the
poorer solution to that problem).
Stephan
More information about the LibreOffice
mailing list