[mythtv] Win Build 23088 Fails

Jonathan jonathanjstevens at gmail.com
Fri Jan 8 23:27:32 UTC 2010


> Nope see an other thread from today, which I sparked of from ticket
> 7859. It is due to conflicting edits and changes between MinGW and
> VS2008 compilation on windows.


OK. I see. Sorta...

A fix was put in for VS2008, which broke MinGW, which your fix in 7869
fixed? But should your fix not be present in 23088?

Even if I manually bring the files in line with your fix I still
cannot compile... I get...


Jon at NEWBOX /c/mythtv/mythtv/libs/libmythupnp
$ make -f Makefile
g++ -c -march=pentium4 -fomit-frame-pointer -O3 -DNDEBUG -g -Wall
-Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dto
r -funit-at-a-time -D__STDC_CONSTANT_MACROS -frtti -fexceptions
-mthreads -DQT_LARGEFILE_SUPPORT -DWIN32 -DUSING_MINGW -DMMX -Di386
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_THREAD_SUPPORT -DQT_DLL
-DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_
LIB -I'../../../../Qt/4.5.3/include/QtCore'
-I'../../../../Qt/4.5.3/include/QtNetwork'
-I'../../../../Qt/4.5.3/include/QtGui' -I'../
../../../Qt/4.5.3/include/QtXml'
-I'../../../../Qt/4.5.3/include/QtSql'
-I'../../../../Qt/4.5.3/include' -I'/usr/include' -I'/C/myth
tv/build/' -I'../libmythdb' -I'..'
-I'../../../../Qt/4.5.3/include/ActiveQt' -I'.'
-I'../../../../qt/4.5.3/mkspecs/win32-g++' -o htt
prequest.o httprequest.cpp
In file included from ../../../../Qt/4.5.3/include/QtCore/qurl.h:1,
                 from ../../../../Qt/4.5.3/include/QtCore/QUrl:1,
                 from upnpdevice.h:32,
                 from upnp.h:36,
                 from httprequest.cpp:46:
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h:265:
error: template specialization with C linkage
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h:265:
error: template with C linkage
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h:265:
error: template specialization with C linkage
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h: In
function `QFlags<QUrl::FormattingOption> operator|(QUrl::Formatt
ingOption, QFlags<QUrl::FormattingOption>)':
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h:266:
error: declaration of C function `QFlags<QUrl::FormattingOption
> operator|(QUrl::FormattingOption, QFlags<QUrl::FormattingOption>)' conflicts with
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h:266:
error: previous declaration `QFlags<QUrl::FormattingOption> ope
rator|(QUrl::FormattingOption, QUrl::FormattingOption)' here
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h:266:
warning: redundant redeclaration of `QFlags<QUrl::FormattingOpt
ion> operator|(QUrl::FormattingOption,
QFlags<QUrl::FormattingOption>)' in same scope
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h:266:
warning: previous declaration of `QFlags<QUrl::FormattingOption
> operator|(QUrl::FormattingOption, QUrl::FormattingOption)'
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h: In
function `QIncompatibleFlag operator|(QUrl::FormattingOption, in
t)':
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h:266:
error: declaration of C function `QIncompatibleFlag operator|(Q
Url::FormattingOption, int)' conflicts with
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h:266:
error: previous declaration `QFlags<QUrl::FormattingOption> ope
rator|(QUrl::FormattingOption, QFlags<QUrl::FormattingOption>)' here
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h:266:
warning: redundant redeclaration of `QIncompatibleFlag operator
|(QUrl::FormattingOption, int)' in same scope
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h:266:
warning: previous declaration of `QFlags<QUrl::FormattingOption
> operator|(QUrl::FormattingOption, QFlags<QUrl::FormattingOption>)'
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h: At
global scope:
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h:274:
error: declaration of C function `QDebug operator<<(QDebug, con
st QUrl&)' conflicts with
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h:269:
error: previous declaration `QDataStream& operator<<(QDataStrea
m&, const QUrl&)' here
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h:274:
warning: redundant redeclaration of `QDebug operator<<(QDebug,
const QUrl&)' in same scope
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h:269:
warning: previous declaration of `QDataStream& operator<<(QData
Stream&, const QUrl&)'
In file included from ../../../../Qt/4.5.3/include/QtCore/qthread.h:1,
                 from ../../../../Qt/4.5.3/include/QtCore/QThread:1,
                 from taskqueue.h:39,
                 from upnp.h:37,
                 from httprequest.cpp:46:
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/thread/qthread.h:129:
error: template with C linkage
In file included from ../../../../Qt/4.5.3/include/QtNetwork/qtcpserver.h:1,
                 from ../../../../Qt/4.5.3/include/QtNetwork/QTcpServer:1,
                 from httpserver.h:37,
                 from upnp.h:38,
                 from httprequest.cpp:46:
../../../../Qt/4.5.3/include/QtNetwork/../../src/network/socket/qtcpserver.h:63:
error: template with C linkage
In file included from ../../../../Qt/4.5.3/include/QtCore/qtimer.h:1,
                 from ../../../../Qt/4.5.3/include/QtCore/QTimer:1,
                 from threadpool.h:34,
                 from httpserver.h:43,
                 from upnp.h:38,
                 from httprequest.cpp:46:
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/kernel/qtimer.h:58:
error: template with C linkage
In file included from httpserver.h:43,
                 from upnp.h:38,
                 from httprequest.cpp:46:
threadpool.h:77: error: template with C linkage
threadpool.h:101: error: template with C linkage
In file included from ssdp.h:33,
                 from upnp.h:39,
                 from httprequest.cpp:46:
ssdpcache.h:90: error: template with C linkage
In file included from ../../../../Qt/4.5.3/include/QtCore/qdatetime.h:1,
                 from ../../../../Qt/4.5.3/include/QtCore/QDateTime:1,
                 from ../libmythdb/mythverbose.h:6,
                 from multicast.h:35,
                 from upnptasknotify.h:40,
                 from ssdp.h:34,
                 from upnp.h:39,
                 from httprequest.cpp:46:
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:141:
error: declaration of C function `QDataStream& operator
<<(QDataStream&, const QDate&)' conflicts with
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h:274:
error: previous declaration `QDebug operator<<(QDebug, const QU
rl&)' here
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:142:
error: declaration of C function `QDataStream& operator
>>(QDataStream&, QDate&)' conflicts with
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/io/qurl.h:270:
error: previous declaration `QDataStream& operator>>(QDataStrea
m&, QUrl&)' here
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:207:
error: declaration of C function `QDataStream& operator
<<(QDataStream&, const QTime&)' conflicts with
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:141:
error: previous declaration `QDataStream& operator<<(QD
ataStream&, const QDate&)' here
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:208:
error: declaration of C function `QDataStream& operator
>>(QDataStream&, QTime&)' conflicts with
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:142:
error: previous declaration `QDataStream& operator>>(QD
ataStream&, QDate&)' here
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:290:
error: declaration of C function `QDataStream& operator
<<(QDataStream&, const QDateTime&)' conflicts with
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:207:
error: previous declaration `QDataStream& operator<<(QD
ataStream&, const QTime&)' here
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:291:
error: declaration of C function `QDataStream& operator
>>(QDataStream&, QDateTime&)' conflicts with
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:208:
error: previous declaration `QDataStream& operator>>(QD
ataStream&, QTime&)' here
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:315:
error: declaration of C function `QDataStream& operator
<<(QDataStream&, const QDate&)' conflicts with
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:290:
error: previous declaration `QDataStream& operator<<(QD
ataStream&, const QDateTime&)' here
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:316:
error: declaration of C function `QDataStream& operator
>>(QDataStream&, QDate&)' conflicts with
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:291:
error: previous declaration `QDataStream& operator>>(QD
ataStream&, QDateTime&)' here
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:317:
error: declaration of C function `QDataStream& operator
<<(QDataStream&, const QTime&)' conflicts with
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:315:
error: previous declaration `QDataStream& operator<<(QD
ataStream&, const QDate&)' here
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:318:
error: declaration of C function `QDataStream& operator
>>(QDataStream&, QTime&)' conflicts with
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:316:
error: previous declaration `QDataStream& operator>>(QD
ataStream&, QDate&)' here
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:319:
error: declaration of C function `QDataStream& operator
<<(QDataStream&, const QDateTime&)' conflicts with
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:317:
error: previous declaration `QDataStream& operator<<(QD
ataStream&, const QTime&)' here
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:320:
error: declaration of C function `QDataStream& operator
>>(QDataStream&, QDateTime&)' conflicts with
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:318:
error: previous declaration `QDataStream& operator>>(QD
ataStream&, QTime&)' here
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:324:
error: declaration of C function `QDebug operator<<(QDe
bug, const QDate&)' conflicts with
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:319:
error: previous declaration `QDataStream& operator<<(QD
ataStream&, const QDateTime&)' here
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:325:
error: declaration of C function `QDebug operator<<(QDe
bug, const QTime&)' conflicts with
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:324:
error: previous declaration `QDebug operator<<(QDebug,
const QDate&)' here
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:326:
error: declaration of C function `QDebug operator<<(QDe
bug, const QDateTime&)' conflicts with
../../../../Qt/4.5.3/include/QtCore/../../src/corelib/tools/qdatetime.h:325:
error: previous declaration `QDebug operator<<(QDebug,
const QTime&)' here
httprequest.cpp:1466: error: expected `}' at end of input
make: *** [httprequest.o] Error 1

Jon at NEWBOX /c/mythtv/mythtv/libs/libmythupnp
$


PS Should I be doing this in the ticketing system rather than email?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-dev/attachments/20100108/74781eb1/attachment.htm>


More information about the mythtv-dev mailing list