"ISO C++ 1998 does not support 'long long'"
Posted: 2008-06-06T18:59:50-07:00
Really sorry if this problem doesn't belong to ImageMagick, but while compiling pstoedit here, it failed with this error:
ImageMagick version is 6.4.1.3
Is this a problem with IM, please?
Thank you!
Code: Select all
c++ -Wl,--as-needed -Wl,-O1 -DPACKAGE_NAME=\"pstoedit\" -DPACKAGE_TARNAME=\"pstoedit\" -DPACKAGE_VERSION=\"3.45\" "-DPACKAGE_STRING=\"pstoedit 3.45\"" -DPACKAGE_BUGREPORT=\"wglunz34_AT_pstoedit.net\" -DPACKAGE=\"pstoedit\" -DVERSION=\"3.45\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -I. -I. -DHAVE_LIBPLOTTER -DHAVE_MKSTEMP -DHAVE_MAGIC -fopenmp -I/usr/include/ImageMagick -DHAVE_LIBPNG -DDEFAULTGS=/usr/bin/gs -DPSTOEDITDATADIR=\"/usr/share/pstoedit\" -DPSTOEDITLIBDIR=\"/usr/lib/pstoedit\" -DBUGGYGPP -pedantic -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -D_LITTLE_ENDIAN -g -MT drvmagick++.lo -MD -MP -MF .deps/drvmagick++.Tpo -c drvmagick++.cpp -fPIC -DPIC -o .libs/drvmagick++.o
In file included from /usr/include/ImageMagick/magick/MagickCore.h:147,
from /usr/include/ImageMagick/Magick++/Include.h:47,
from /usr/include/ImageMagick/Magick++/Image.h:11,
from /usr/include/ImageMagick/Magick++.h:9,
from drvmagick++.h:35,
from drvmagick++.cpp:31:
/usr/include/ImageMagick/magick/magick-type.h:124: error: ISO C++ 1998 does not support 'long long'
/usr/include/ImageMagick/magick/magick-type.h:125: error: ISO C++ 1998 does not support 'long long'
In file included from /usr/include/ImageMagick/magick/MagickCore.h:166,
from /usr/include/ImageMagick/Magick++/Include.h:47,
from /usr/include/ImageMagick/Magick++/Image.h:11,
from /usr/include/ImageMagick/Magick++.h:9,
from drvmagick++.h:35,
from drvmagick++.cpp:31:
/usr/include/ImageMagick/magick/deprecate.h:75: error: ISO C++ 1998 does not support 'long long'
/usr/include/ImageMagick/magick/deprecate.h:76: error: ISO C++ 1998 does not support 'long long'
make[2]: *** [drvmagick++.lo] Error 1
Is this a problem with IM, please?
Thank you!