Buiiding LO6.1.4.2 with pdfium emits “error: invalid conversion from ‘int’ to ‘boolean’ [-fpermissive]”

Дилян Палаузов dpa-libreoffice at aegee.org
Wed Jan 16 14:08:48 UTC 2019


Hello,

I use gcc 8.2.1 20190101 with self buill linux.  I do not want to compile LO linking with static libraries, which I have
already as .so on my system, so no ./configure .

For the first error, int cannot be converted to boolean, the message is in /src/libreoffice-
6.1.4.2/build/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp and the code is:

static boolean _src_fill_buffer(j_decompress_ptr cinfo) {
  return 0;
}

Regards
  Дилян

On Wed, 2019-01-16 at 14:37 +0100, Miklos Vajna wrote:
> Hi,
> 
> On Wed, Jan 16, 2019 at 09:48:01AM +0000, Дилян Палаузов <dpa-libreoffice at aegee.org> wrote:
> > 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-introspecti on --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”
> 
> This is a very long list of options: as a first build, can you simply
> try './configure' without any parameters?
> 
> > fails with the error message below.
> 
> Please state your operating system and compiler versions, otherwise it's
> hard to help.
> 
> Regards,
> 
> Miklos
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice



More information about the LibreOffice mailing list