Build warnings on Linux (strict-overflow in sc + unused variable in vcl)
julien2412
serval2412 at yahoo.fr
Tue May 10 21:56:34 UTC 2016
With the patch already quoted applied locally + "(void) sWindow;" for vcl
parl, I kept on the build.
Now I've got something a bit weird (this time in sw module) ::
/home/julien/lo/libreoffice/sw/source/core/text/txtfrm.cxx: In member
function ‘virtual bool SwTextFrame::Prepare(PrepareHint, const void*,
bool)’:
/home/julien/lo/libreoffice/sw/source/core/text/txtfrm.cxx:1447:6: error:
assuming signed overflow does not occur when assuming that (X + c) < X is
always false [-Werror=strict-overflow]
bool SwTextFrame::Prepare( const PrepareHint ePrep, const void* pVoid,
^
How a function may trigger this?
--
View this message in context: http://nabble.documentfoundation.org/Build-warnings-on-Linux-strict-overflow-in-sc-unused-variable-in-vcl-tp4183244p4183256.html
Sent from the Dev mailing list archive at Nabble.com.
More information about the LibreOffice
mailing list