Build warnings on Linux (strict-overflow in sc + unused variable in vcl)

julien2412 serval2412 at
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*,
/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:
Sent from the Dev mailing list archive at

More information about the LibreOffice mailing list