Menu

#2 Qtella will not compile with gcc 3.2

open
nobody
None
5
2003-01-04
2003-01-04
Anonymous
No

Qtella will not compile with gcc 3.2, ambiguous overload
errors.

/usr/qt/3/bin/moc -o DeleteDialog_moc.cpp
../include/DeleteDialog.h
/usr/qt/3/bin/moc -o BDownloadTo_moc.cpp
../include/BDownloadTo.h
g++ -DPACKAGE=\"qtella\" -DVERSION=\"0.5.3\"
-DHAVE_OGG_LIB=1 -DHAVE_STDINT_H=1
-DPIXMAP_DIR=\"/usr/share/qtella/pixmaps\"
-DLANG_DIR=\"/usr/share/qtella/langua ge\"
-fexceptions -DKDE -DQT_THREAD_SUPPORT
-I../include -I../ui -I/usr/qt/3/in clude
-I/usr/kde/3.1/include -I/usr/include/vorbis
-march=pentium2 -mcpu=pen tium2 -O3 -pipe
-fomit-frame-pointer -D__SMP__ -c DownloadTo.cpp
DownloadTo.cpp: In member function `virtual void
DownloadTo::slotSelectDirectory()':
DownloadTo.cpp:55: ambiguous overload for `std::string&
= QString' operator
/usr/include/g++-v32/bits/basic_string.h:338: candidates
are:
std::basic_string<_CharT, _Traits, _Alloc>&
std::basic_string<_CharT,
_Traits, _Alloc>::operator=(const
std::basic_string<_CharT, _Traits,
_Alloc>&) [with _CharT = char, _Traits =
std::char_traits<char>, _Alloc =
std::allocator<char>]
/usr/include/g++-v32/bits/basic_string.h:341:
std::basic_string<_CharT, _Traits, _Alloc>&
std::basic_string<_CharT,
_Traits, _Alloc>::operator=(const _CharT*) [with
_CharT = char, _Traits =
std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/include/g++-v32/bits/basic_string.h:344:
std::basic_string<_CharT, _Traits, _Alloc>&
std::basic_string<_CharT,
_Traits, _Alloc>::operator=(_CharT) [with _CharT =
char, _Traits =
std::char_traits<char>, _Alloc = std::allocator<char>]
<near match>
make[1]: *** [DownloadTo.o] Error 1

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.