Failing LO build with Raspberry pi4 (-Werror,-Wformat in idl)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Raspberry pi4 with master sources updated today + make clean, I got:

[CXX] sax/source/expatwrap/sax_expat.cxx
/home/pi/lo/libreoffice/idl/source/prj/database.cxx:437:23: error: format specifies type 'unsigned long' but the argument has type 'sal_uInt64' (aka 'unsigned long long') [-Werror,-Wformat]
             "error", nRow, nColumn );
                      ^~~~
/home/pi/lo/libreoffice/idl/source/prj/database.cxx:437:29: error: format specifies type 'unsigned long' but the argument has type 'sal_uInt64' (aka 'unsigned long long') [-Werror,-Wformat]
             "error", nRow, nColumn );
                            ^~~~~~~
2 errors generated.
make[1]: *** [/home/pi/lo/libreoffice/solenv/gbuild/LinkTarget.mk:301 : /home/pi/lo/libreoffice/workdir/CxxObject/idl/source/prj/database.o] Erreur 1

IMHO I think it's related to https://cgit.freedesktop.org/libreoffice/core/commit/?id=5419b894a2e791de24d10f0c4433a807e175e7a0

author    siddheshpatil777 <siddheshpatil777@xxxxxxxxx> 2021-01-06 14:14:33 +0400 committer    Michael Stahl <michael.stahl@xxxxxxxxxxxxx> 2021-01-21 16:36:00 +0100
commit    5419b894a2e791de24d10f0c4433a807e175e7a0 (patch)
tree    72cdf2b9648a18d711c53bb0d36ffb550ec0850d
parent    21138573fcc6e300a446ffba8cfde00198fb249e (diff)

tdf#114441: Convert use of sal_uLong to better integer types

I use:

CC=clang
CXX=clang++

Raspbian clang version 11.0.1-2+rpi1
Target: armv6k-unknown-linux-gnueabihf
Thread model: posix
InstalledDir: /usr/bin

Any idea to fix this?

Regards,

Julien

_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux