[mythtv] OS X 10.3 and MythTV 0.20

Nigel Pearson nigel at ind.tansu.com.au
Thu Nov 30 02:39:06 UTC 2006

> I also recall some sort of an obscure compiler optimization
> Apple made around this area of code/linking

There is the -fterminated-vtables argument.
Tried a Qt build, but haven't had time
to worked out what this means yet:

c++ -c -pipe -I/Volumes/Myth-Xcode2.4/.osx-packager/build/include/ 
mysql -fno-exceptions -fterminated-vtables -static -Os  -DQT_MOC - 
DQT_NO_COMPRESS -I/Volumes/Myth-Xcode2.4/.osx-packager/src/qt-mac- 
free-3.3.6/mkspecs/macx-g++ -I. -I../../include -I../tools -I. -o ./ 
qfileinfo_unix.o ../tools/qfileinfo_unix.cpp
test -d ../../bin/ || mkdir -p ../../bin/
c++ -headerpad_max_install_names -fno-exceptions -prebind -o ../../ 
bin/moc ./qbuffer.o ./qptrcollection.o ./qcstring.o ./qdatastream.o ./ 
qdatetime.o ./qfile.o ./qdir.o ./qfileinfo.o ./qgarray.o ./qgdict.o ./ 
qglist.o ./qglobal.o ./qgvector.o ./qiodevice.o ./qregexp.o ./ 
qstring.o ./qlocale.o ./qunicodetables.o ./qstringlist.o ./ 
qtextstream.o ./qbitarray.o ./qmap.o ./qgcache.o ./qtextcodec.o ./ 
qutfcodec.o ./moc_yacc.o ./qfile_unix.o ./qdir_unix.o ./ 
qfileinfo_unix.o    -L/Volumes/Myth-Xcode2.4/.osx-packager/build/lib/ 
mysql -framework Carbon
/usr/bin/ld: warning prebinding disabled because of undefined symbols
/usr/bin/ld: Undefined symbols:
vtable for QGList

> Is there a way to do a 'poor-mans' RTTI by trying the cast and
> then examining some particular member to determine if it really looks
> like a Key press event ?

According to typeid(*e).name,
it is actually already a QKeyEvent.

I have no idea why dynamic_cast of
something to its existing type is
returning NULL.

Nigel Pearson, nigel at ind.tansu.com.au|     "They did the
Telstra Net. Eng., Sydney, Australia | white man power dance,
Office: 9202 3900    Fax:  9261 3912 |     and ... Shazam"
Mobile: 0408 664435  Home: 9792 6998 | Lois Lane - Smallville

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20061130/54734b31/attachment.htm 

More information about the mythtv-dev mailing list