[Digikam-devel] [digikam] [Bug 357952] New: Problem with conversion from ‘int’ to ‘boolean’ when using libjpeg 9a
Jan Wolter via KDE Bugzilla
bugzilla_noreply at kde.org
Wed Jan 13 20:21:03 GMT 2016
https://bugs.kde.org/show_bug.cgi?id=357952
Bug ID: 357952
Summary: Problem with conversion from ‘int’ to ‘boolean’ when
using libjpeg 9a
Product: digikam
Version: 5.0.0
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: major
Priority: NOR
Component: Raw-Engine
Assignee: digikam-devel at kde.org
Reporter: jan.wolter at upb.de
During compilation I get the following error:
[ 36%] Building CXX object
core/libs/rawengine/libraw/CMakeFiles/libraw.dir/RawSpeed/DngDecoderSlices.cpp.o
/home/jan/Downloads/digikamGIT/core/libs/rawengine/libraw/RawSpeed/DngDecoderSlices.cpp:
In member function ‘void
RawSpeed::DngDecoderSlices::decodeSlice(RawSpeed::DngDecoderThread*)’:
/home/jan/Downloads/digikamGIT/core/libs/rawengine/libraw/RawSpeed/DngDecoderSlices.cpp:180:60:
error: invalid conversion from ‘int’ to ‘boolean’ [-fpermissive]
if (JPEG_HEADER_OK != jpeg_read_header(&dinfo, TRUE))
^
In file included from
/home/jan/Downloads/digikamGIT/core/libs/rawengine/libraw/RawSpeed/StdAfx.h:71:0,
from
/home/jan/Downloads/digikamGIT/core/libs/rawengine/libraw/RawSpeed/DngDecoderSlices.cpp:1:
/usr/local/include/jpeglib.h:1039:13: error: initializing argument 2 of ‘int
jpeg_read_header(j_decompress_ptr, boolean)’ [-fpermissive]
EXTERN(int) jpeg_read_header JPP((j_decompress_ptr cinfo,
^
make[2]: ***
[core/libs/rawengine/libraw/CMakeFiles/libraw.dir/RawSpeed/DngDecoderSlices.cpp.o]
Error 1
make[1]: *** [core/libs/rawengine/libraw/CMakeFiles/libraw.dir/all] Error 2
make: *** [all] Error 2
Reproducible: Always
The same problem is documented for darktable, see
https://bugs.gentoo.org/show_bug.cgi?id=520894
I will post the copied bugfix immediately.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list