if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..
-I/opt/kde3/include -I/usr/lib/qt3/include
-I/usr/X11R6/include -DKDE_NO_COMPAT
-DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -W -Wpointer-arith
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -Wchar-subscripts -O2
-Wformat-security -Wmissing-format-attribute
-fno-exceptions -fno-check-new -fno-common -MT
kdigirail.o -MD -MP -MF ".deps/kdigirail.Tpo" -c -o
kdigirail.o kdigirail.cpp; \
then mv -f ".deps/kdigirail.Tpo" ".deps/kdigirail.Po";
else rm -f ".deps/kdigirail.Tpo"; exit 1; fi
In file included from /usr/include/magick/api.h:107,
from kdigirail.cpp:21:
/usr/include/magick/blob.h:78: error: syntax error
before `(' token
In file included from /usr/include/magick/api.h:137,
from kdigirail.cpp:21:
/usr/include/magick/magic.h:25: error: 'ssize_t' is
used as a type, but is not
defined as a type.
In file included from /usr/include/magick/api.h:140,
from kdigirail.cpp:21:
/usr/include/magick/module.h:29: error: 'time_t' is
used as a type, but is not
defined as a type.
kdigirail.cpp: In member function `void
KDigiRail::setConnection(const
LoginStruct*)':
kdigirail.cpp:265: warning: format not a string literal
and no format arguments
kdigirail.cpp: In member function `bool
KDigiRail::testConnection(const
LoginStruct*)':
kdigirail.cpp:384: warning: format not a string literal
and no format arguments
kdigirail.cpp: In member function `bool
KDigiRail::createDatabase(const
LoginStruct*, const QString&)':
kdigirail.cpp:547: warning: format not a string literal
and no format arguments
kdigirail.cpp: In member function `void
KDigiRail::slotFileImportPicture()':
kdigirail.cpp:864: error: cannot convert `const bool'
to `MagickBooleanType'
for argument `2' to `MagickBooleanType
SetImageInfo(ImageInfo*,
MagickBooleanType, ExceptionInfo*)'
kdigirail.cpp:900: error: invalid conversion from `int'
to `MagickBooleanType'
kdigirail.cpp:934: error: invalid conversion from `int'
to `MagickBooleanType'
kdigirail.cpp:812: warning: unused variable `int i1'
kdigirail.cpp:812: warning: unused variable `int i2'
kdigirail.cpp: In member function `void
KDigiRail::writePicture(const QString&,
int, int, QString&, int, int)':
kdigirail.cpp:1002: warning: unused variable `int i2'
kdigirail.cpp:1003: warning: unused variable `bool ok'
kdigirail.cpp: In member function `virtual void
KDigiRail::saveProperties(KConfig*)':
kdigirail.cpp:694: warning: unused parameter `KConfig*_cfg'
kdigirail.cpp: In member function `virtual void
KDigiRail::readProperties(KConfig*)':
kdigirail.cpp:700: warning: unused parameter `KConfig*_cfg'
make: *** [kdigirail.o] Fehler 1
Logged In: NO
I managed to compile the package after changing the following:
line 864:
from if (!SetImageInfo(source_info, TRUE, &exception))
to if (!SetImageInfo(source_info, MagickTrue, &exception))
line 900:
from thumbnail = CloneImage(source, 0, 0, 0, &exception);
to thumbnail = CloneImage(source, 0, 0, MagickFalse,
&exception);
line 934:
from thumbnail = CloneImage(source, 0, 0, 0, &exception);
to thumbnail = CloneImage(source, 0, 0, MagickFalse,
&exception);
But you seem to have some more syntax errors from the
ImageMagick headers. I didn't have those.