[mythtv] SVN build error that's beyond me
Nigel Pearson
nigel at ind.tansu.com.au
Sun Mar 30 23:57:10 UTC 2008
% cd libs/libmythtv
% make
...
g++ -c -pipe -march=pentium4 -fomit-frame-pointer -O3 -Wall -Wno-
switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -
D__STDC_CONSTANT_MACROS -Wno-long-double
...
-DPIC -fPIC -DMMX -Di386 -DUSING_APPLEREMOTE -D_GNU_SOURCE -
D_FILE_OFFSET_BITS=64 -DPREFIX=\"/Volumes/MythBuild/.osx-packager/
build\" -DLIBDIR=\"/Volumes/MythBuild/.osx-packager/build/lib\" -
D_LARGEFILE_SOURCE -DUSING_H264TOOLS -DUSING_FRONTEND -
DUSING_FFMPEG_THREADS -DUSING_OSX_FIREWIRE -DUSING_FIREWIRE -
DUSING_DBOX2 -DUSING_IPTV -DUSING_HDHOMERUN -DUSING_BACKEND -
DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQL_LIB -
DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -
DQT_CORE_LIB -DQT_SHARED
...
-o datadirect.o datadirect.cpp
frequencytables.h: In function 'bool operator==(const
transport_scan_items_it_t&, const transport_scan_items_it_t&)':
frequencytables.h:231: error: ISO C++ says that these are ambiguous,
even though the worst conversion for the first is better than the
worst conversion for the second:
/Volumes/MythBuild/.osx-packager/build/include/QtCore/qlinkedlist.h:
126: note: candidate 1: bool QLinkedList<T>::iterator::operator==
(const QLinkedList<T>::iterator&) const [with T = TransportScanItem]
frequencytables.h:225: note: candidate 2: bool operator==(const
transport_scan_items_it_t&, const
Q3ValueListIterator<TransportScanItem>&)
make: *** [datadirect.o] Error 1
The error is at:
return (A._it == B._it)
yet the similar comparison in the next inline:
return (A._it != B._it)
causes no problem.
Some sort of Q3ValueList overload weirdness?
--
Nigel Pearson, nigel at ind.tansu.com.au| "Peacemaking is our profession"
Telstra Net. Eng., Sydney, Australia |Motto of Burpelson Airforce Base
Office: 9202 3900 Fax: 9261 3912 |Commanded by Gen. Jack D. Ripper
Mobile: 0408 664435 Home: 9792 6998 | Dr Strangelove
More information about the mythtv-dev
mailing list