32 bit build failure (smb, narrowing)
Stephan Bergmann
stephan.bergmann at allotropia.de
Fri Mar 8 07:51:24 UTC 2024
On 3/8/24 08:23, Rene Engelhard wrote:
> see
> https://buildd.debian.org/status/fetch.php?pkg=libreoffice&arch=i386&ver=4%3A24.2.2~rc1-1&stamp=1709881487&raw=1:
>
> /<<PKGBUILDDIR>>/sal/osl/unx/file.cxx: In function ‘void
> osl_file_adjustLockFlags(const rtl::OString&, int*, sal_uInt32*)’:
> /<<PKGBUILDDIR>>/sal/osl/unx/file.cxx:71:26: error: narrowing conversion
> of ‘4283649346’ from ‘unsigned int’ to ‘int’ [-Wnarrowing]
> 71 | #define CIFS_SUPER_MAGIC 0xFF534D42
> | ^~~~~~~~~~
> /<<PKGBUILDDIR>>/sal/osl/unx/file.cxx:795:14: note: in expansion of
> macro ‘CIFS_SUPER_MAGIC’
> 795 | case CIFS_SUPER_MAGIC:
> | ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/sal/osl/unx/file.cxx:72:26: error: narrowing conversion
> of ‘4266872130’ from ‘unsigned int’ to ‘int’ [-Wnarrowing]
> 72 | #define SMB2_SUPER_MAGIC 0xFE534D42
> | ^~~~~~~~~~
> /<<PKGBUILDDIR>>/sal/osl/unx/file.cxx:796:14: note: in expansion of
> macro ‘SMB2_SUPER_MAGIC’
> 796 | case SMB2_SUPER_MAGIC:
> | ^~~~~~~~~~~~~~~~
> make[2]: *** [/<<PKGBUILDDIR>>/solenv/gbuild/LinkTarget.mk:340:
> /<<PKGBUILDDIR>>/workdir/CxxObject/sal/osl/unx/file.o] Error 1
see <https://gerrit.libreoffice.org/c/core/+/164561> "Blind fix for
Linux 32-bit builds"
More information about the LibreOffice
mailing list