-Wsign-promo (Re: [BUILD FAILS DEBUG MODE] with test_strings_valuex.cxx)
Caolán McNamara
caolanm at redhat.com
Tue Jan 22 07:49:29 PST 2013
On Sat, 2013-01-19 at 11:28 +0100, Lubos Lunak wrote:
> it incidentally triggers when passing bool to SvStream, because it
> doesn't have any overload for operator<<(bool), and int is chosen over
> unsigned char AKA sal_Bool , so Caolan added it in
> e8bbb76827dd7a0e30d7d1db34a812a84d85f390
> - if SvStream gets overload for bool, the warning can be dumped
>
> Or am I missing something there?
Yeah, IIRC I just wanted to see if there were more cases of bools being
streamed out. Should have tweaked the stream class instead.
C.
More information about the LibreOffice
mailing list