[mythtv] [mythtv-commits] Ticket #8572: trunk and 0.23-fixes build failure in upnpcmgr with Qt 4.7.0-beta1

Michael T. Dean mtdean at thirdcontact.com
Mon Jun 21 04:55:34 UTC 2010


On 06/20/2010 11:45 PM, MythTV wrote:
> #8572: trunk and 0.23-fixes build failure in upnpcmgr with Qt 4.7.0-beta1
>
> Comment(by anonymous):
>
>   Hmmm.... not quite....
>
>   {{{
>   ccache g++ -c -pipe -fomit-frame-pointer -O3 -g -Wall -Wno-switch
>   -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time
>   -D__STDC_CONSTANT_MACROS -D_REENTRANT -DPIC -fPIC -DMMX -D_GNU_SOURCE
>   -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB
>   -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
>   -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore
>   -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui
>   -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4
>   -I/usr/include -I/usr -I../libmythdb -I.. -I. -o upnpcds.o upnpcds.cpp
>   In file included from upnpcds.h:33,
>                    from upnpcds.cpp:28:
>   eventing.h: In member function ‘T StateVariables::GetValue(const
>   QString&)’:
>   eventing.h:236: error: expected primary-expression before ‘(’ token
>   eventing.h:236: error: expected primary-expression before ‘)’ token
>   eventing.h:244: error: expected primary-expression before ‘(’ token
>   eventing.h:244: error: expected primary-expression before ‘)’ token
>   make: *** [upnpcds.o] Error 1
>
>   }}}
>    

So, it's way too late and I shouldn't be trying to figure out code, but 
the first wasn't a typo, but probably should be:

return T(QString());

now, anyway.  Sorry, don't have my source/compiler to even sanity check me.

Mike



More information about the mythtv-dev mailing list