[mythtv] mythtv-0.15.1,
qt-embedded and mythfilldatabase compile error
Chris Bainbridge
C.J.Bainbridge at ed.ac.uk
Sun Jun 13 16:23:52 EDT 2004
Whilst compiling with qt-embedded I get:
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti `directfb-config --cflags`
-march=pentium3 -D_REENTRANT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DPREFIX=\"/usr\" -DMMX -DUSING_IVTV -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_SHARED -I/usr/qt/3-embedded/mkspecs/qws/linux-x86-g++ -I.
-I../../libs/libmythtv -I../../libs/libmyth -I../../libs -I/usr/include
-I/usr/qt/3-embedded/include -o filldata.o filldata.cpp
filldata.cpp: In function `QDomElement <unnamed>::nodeToElement(QDomNode&)':
filldata.cpp:415: error: exception handling disabled, use -fexceptions to
enable
filldata.cpp: In function `void <unnamed>::ImportIconMap(const QString&)':
filldata.cpp:527: error: `e' undeclared (first use this function)
filldata.cpp:527: error: (Each undeclared identifier is reported only once for
each function it appears in.)
The easy way to fix this is to explicitly enable exceptions just for this
executable. I'm pretty sure this is safe; according to
http://web.mit.edu/qt_v3.2.1/www/emb-porting.html Qt/E apps require the
-fno-exceptions flag but I don't see what difference it makes.
More information about the mythtv-dev
mailing list