[BUILD FAILS DEBUG MODE] with test_strings_valuex.cxx

julien2412 serval2412 at yahoo.fr
Fri Jan 18 10:17:29 PST 2013


Hello,

On pc Debian x86-64 with master sources after having runned "make clean",
I've got this:
/home/julien/compile-libreoffice/libo/sal/qa/rtl/strings/test_strings_valuex.cxx:
In instantiation of ‘void testInt() [with T = rtl::OUString]’:
/home/julien/compile-libreoffice/libo/sal/qa/rtl/strings/test_strings_valuex.cxx:77:28:  
required from here
/home/julien/compile-libreoffice/libo/sal/qa/rtl/strings/test_strings_valuex.cxx:48:5:
error: passing ‘unsigned char’ chooses ‘int’ over ‘unsigned int’
[-Werror=sign-promo]
/home/julien/compile-libreoffice/libo/sal/qa/rtl/strings/test_strings_valuex.cxx:48:5:
error:   in call to ‘static rtl::OUString rtl::OUString::number(int,
sal_Int16)’ [-Werror=sign-promo]
/home/julien/compile-libreoffice/libo/sal/qa/rtl/strings/test_strings_valuex.cxx:50:5:
error: passing ‘short unsigned int’ chooses ‘int’ over ‘unsigned int’
[-Werror=sign-promo]
/home/julien/compile-libreoffice/libo/sal/qa/rtl/strings/test_strings_valuex.cxx:50:5:
error:   in call to ‘static rtl::OUString rtl::OUString::number(int,
sal_Int16)’ [-Werror=sign-promo]
/home/julien/compile-libreoffice/libo/sal/qa/rtl/strings/test_strings_valuex.cxx:60:5:
error: passing ‘sal_uInt8 {aka unsigned char}’ chooses ‘int’ over ‘unsigned
int’ [-Werror=sign-promo]
/home/julien/compile-libreoffice/libo/sal/qa/rtl/strings/test_strings_valuex.cxx:60:5:
error:   in call to ‘static rtl::OUString rtl::OUString::number(int,
sal_Int16)’ [-Werror=sign-promo]
/home/julien/compile-libreoffice/libo/sal/qa/rtl/strings/test_strings_valuex.cxx:62:5:
error: passing ‘sal_uInt16 {aka short unsigned int}’ chooses ‘int’ over
‘unsigned int’ [-Werror=sign-promo]
/home/julien/compile-libreoffice/libo/sal/qa/rtl/strings/test_strings_valuex.cxx:62:5:
error:   in call to ‘static rtl::OUString rtl::OUString::number(int,
sal_Int16)’ [-Werror=sign-promo]
/home/julien/compile-libreoffice/libo/sal/qa/rtl/strings/test_strings_valuex.cxx:
In instantiation of ‘void testInt() [with T = rtl::OString]’:

(--enable-dbgutil in autogen.lastrun)

Julien



--
View this message in context: http://nabble.documentfoundation.org/BUILD-FAILS-DEBUG-MODE-with-test-strings-valuex-cxx-tp4030218.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list