Hello,
building LO 6.1.4.2 using “../configure --enable-evolution2 --enable-avahi --enable-python=system
--enable-eot --enable-
online-update --enable-introspection=yes --without-doxygen --with-jdk-home=/opt/jdk
--with-ant-home=/opt/ant --without-
junit --enable-formula-logger --enable-introspection --with-system-bzip2 --with-system-cairo
--with-system-epoxy --with-
system-zlib --with-system-jpeg --with-system-expat --with-system-libxml --with-system-icu
--with-system-openldap --
without-system-poppler --with-system-curl --with-system-boost --with-webdav --with-krb5
--with-gssapi --with-system-
lcms2 --with-boost --with-system-nss --with-system-graphite --with-system-harfbuzz
--with-system-openssl --with-system-
libpng --disable-firebird-sdbc --disable-gtk”
fails with the error message below.
Regards
Дилян
mkdir -p /src/libreoffice-6.1.4.2/build/instdir
/src/libreoffice-6.1.4.2/solenv/bin/install-gdb-printers -a /src/libreoffice-6.1.4.2/build/instdir
-c
make -j 4 -rs -f /src/libreoffice-6.1.4.2/Makefile.gbuild all
[build CXX] workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp
[build PRL] CustomTarget/postprocess/images/sorted.lst
[build PRL] CustomTarget/postprocess/images/commandimagelist.ilst
[build DEP] LNK:Library/libguesslanglo.so
[build LNK] Library/libguesslanglo.so
[build DEP] LNK:Library/libnumbertextlo.so
[build LNK] Library/libnumbertextlo.so
/src/libreoffice-6.1.4.2/build/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:
In function ‘boolean
_src_fill_buffer(j_decompress_ptr)’:
/src/libreoffice-6.1.4.2/build/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:80:10:
error: invalid
conversion from ‘int’ to ‘boolean’ [-fpermissive]
return 0;
^
/src/libreoffice-6.1.4.2/build/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:
In function ‘boolean
_src_resync(j_decompress_ptr, int)’:
/src/libreoffice-6.1.4.2/build/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:84:10:
error: invalid
conversion from ‘int’ to ‘boolean’ [-fpermissive]
return 0;
^
/src/libreoffice-6.1.4.2/build/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:
In function ‘bool
JpegLoadInfo(const uint8_t*, uint32_t, int*, int*, int*, int*, bool*)’:
/src/libreoffice-6.1.4.2/build/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:153:42:
error: cannot
convert ‘bool’ to ‘boolean’
int ret = jpeg_read_header(&cinfo, true);
^
In file included from /src/libreoffice-
6.1.4.2/build/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:24:
/usr/local/include/jpeglib.h:1039:30: note: initializing argument 2 of ‘int
jpeg_read_header(j_decompress_ptr,
boolean)’
EXTERN(int) jpeg_read_header JPP((j_decompress_ptr cinfo,
^~~
/src/libreoffice-6.1.4.2/build/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:
In member function
‘bool CCodec_JpegDecoder::InitDecode()’:
/src/libreoffice-6.1.4.2/build/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:237:42:
error: cannot
convert ‘bool’ to ‘boolean’
int ret = jpeg_read_header(&cinfo, true);
^
In file included from /src/libreoffice-
6.1.4.2/build/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:24:
/usr/local/include/jpeglib.h:1039:30: note: initializing argument 2 of ‘int
jpeg_read_header(j_decompress_ptr,
boolean)’
EXTERN(int) jpeg_read_header JPP((j_decompress_ptr cinfo,
^~~
/src/libreoffice-6.1.4.2/build/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:
In member function
‘int CCodec_JpegModule::ReadHeader(CCodec_JpegModule::Context*, int*, int*, int*)’:
/src/libreoffice-6.1.4.2/build/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:464:48:
error: cannot
convert ‘bool’ to ‘boolean’
int ret = jpeg_read_header(&ctx->m_Info, true);
^
In file included from /src/libreoffice-
6.1.4.2/build/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:24:
/usr/local/include/jpeglib.h:1039:30: note: initializing argument 2 of ‘int
jpeg_read_header(j_decompress_ptr,
boolean)’
EXTERN(int) jpeg_read_header JPP((j_decompress_ptr cinfo,
Context
- Buiiding LO6.1.4.2 with pdfium emits “error: invalid conversion from ‘int’ to ‘boolean’ [-fpermissive]” · Дилян Палаузов
Re: Buiiding LO6.1.4.2 with pdfium emits “error: invalid conversion from ‘int’ to ‘boolean’ [-fpermissive]” · Дилян Палаузов
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.