swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] GCC error while building Python bindings


From: Jamie Begin
Subject: [Swftools-common] GCC error while building Python bindings
Date: Fri, 19 Mar 2010 17:15:50 -0400

I posted a couple days ago about the build failing when compiling the Python bindings due to a missing "lib/art" directory.  I didn't realize that I had grabbed the development version rather than the stable release.  The release version apparently does have the directory, so that problem is resolved.  However I have a new one...  I'm running into the same problem mentioned in this thread: http://www.mail-archive.com/address@hidden/msg04229.html  (which is that the build errors out).

My config.log: http://pastebin.com/UmWYJrgm

The relevant build output:

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include -I/usr/local/include/freetype2 -Ilib/lame/ -Ilib/pdf/xpdf -Ilib/pdf -I/usr/src/Imaging-1.1.7/libImaging -I/usr/local/include/python2.6 -c lib/pdf/GFXOutputDev.cc -o build/temp.linux-x86_64-2.6/lib/pdf/GFXOutputDev.o -fPIC -Wparentheses -Wimplicit -Wreturn-type -O3 -fomit-frame-pointer -Winline -Wno-unused -Wno-strict-prototypes -DHAVE_CONFIG_H -DSWFTOOLS_DATADIR="/usr/share/swftools/"
cc1plus: warning: command line option "-Wno-strict-prototypes" is valid for Ada/C/ObjC but not for C++
lib/pdf/xpdf/gfile.h:134: error: ISO C++ forbids declaration of ‘DIR’ with no type
lib/pdf/xpdf/gfile.h:134: error: expected ‘;’ before ‘*’ token
lib/pdf/GFXOutputDev.cc: In destructor ‘virtual GFXGlobalParams::~GFXGlobalParams()’:
lib/pdf/GFXOutputDev.cc:327: warning: comparison between signed and unsigned integer expressions
lib/pdf/GFXOutputDev.cc: In member function ‘virtual DisplayFontParam* GFXGlobalParams::getDisplayFont(GString*)’:
lib/pdf/GFXOutputDev.cc:515: warning: comparison between signed and unsigned integer expressions
lib/pdf/GFXOutputDev.cc: In function ‘void showFontError(GfxFont*, int)’:
lib/pdf/GFXOutputDev.cc:694: warning: comparison between signed and unsigned integer expressions
lib/pdf/GFXOutputDev.cc: In function ‘void dumpFontInfo(const char*, GfxFont*)’:
lib/pdf/GFXOutputDev.cc:719: warning: enumeration value ‘fontType1COT’ not handled in switch
lib/pdf/GFXOutputDev.cc:719: warning: enumeration value ‘fontTrueTypeOT’ not handled in switch
lib/pdf/GFXOutputDev.cc:719: warning: enumeration value ‘fontCIDType0COT’ not handled in switch
lib/pdf/GFXOutputDev.cc:719: warning: enumeration value ‘fontCIDType2OT’ not handled in switch
lib/pdf/GFXOutputDev.cc: In member function ‘virtual void GFXOutputDev::drawChar(GfxState*, double, double, double, double, double, double, CharCode, int, Unicode*, int)’:
lib/pdf/GFXOutputDev.cc:1385: warning: comparison between signed and unsigned integer expressions
lib/pdf/GFXOutputDev.cc: In member function ‘virtual GBool GFXOutputDev::beginType3Char(GfxState*, double, double, double, double, CharCode, Unicode*, int)’:
lib/pdf/GFXOutputDev.cc:1514: warning: comparison between signed and unsigned integer expressions
error: command 'gcc' failed with exit status 1


reply via email to

[Prev in Thread] Current Thread [Next in Thread]