hello,
i get the following error when trying to compile qtella:
c++ -DPACKAGE=\"qtella\" -DVERSION=\"0.5.4\" -DADDITIONAL_VERSION_STR=\"\" -DHAVE_OGG_LIB=1 -DHAVE_STDINT_H=1 -DPIXMAP_DIR=\"/shared/kde-3.1-rc5/share/qtella/pixmaps\" -DLANG_DIR=\"/shared/kde-3.1-rc5/share/qtella/language\" -fexceptions -DKDE -DQT_THREAD_SUPPORT -I../include -I../ui -I/shared/qt-3.1.1/include -I/shared/kde-3.1-rc5/include -I/usr/include/vorbis -g -O2 -c QtellaSub.cpp
In file included from /usr/include/c++/3.2/backward/strstream:51,
from ../include/Statistic.h:5,
from ../include/Connections.h:7,
from QtellaSub.cpp:4:
/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
QtellaSub.cpp: In constructor `QtellaSub::QtellaSub(QApplication*, const char*,
unsigned int)':
QtellaSub.cpp:360: call of overloaded `basic_string(QString)' is ambiguous
/usr/include/c++/3.2/bits/basic_string.tcc:226: candidates are:
std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*,
const _Alloc& = _Alloc()) [with _CharT = char, _Traits =
std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/include/c++/3.2/bits/basic_string.tcc:192:
std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const
std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits =
std::char_traits<char>, _Alloc = std::allocator<char>]
basically, that same error is riddled throughout the file in various places.
what do i do? thanks for the help,
christopher
P.S. i compiled qt with stl support
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello,
i get the following error when trying to compile qtella:
c++ -DPACKAGE=\"qtella\" -DVERSION=\"0.5.4\" -DADDITIONAL_VERSION_STR=\"\" -DHAVE_OGG_LIB=1 -DHAVE_STDINT_H=1 -DPIXMAP_DIR=\"/shared/kde-3.1-rc5/share/qtella/pixmaps\" -DLANG_DIR=\"/shared/kde-3.1-rc5/share/qtella/language\" -fexceptions -DKDE -DQT_THREAD_SUPPORT -I../include -I../ui -I/shared/qt-3.1.1/include -I/shared/kde-3.1-rc5/include -I/usr/include/vorbis -g -O2 -c QtellaSub.cpp
In file included from /usr/include/c++/3.2/backward/strstream:51,
from ../include/Statistic.h:5,
from ../include/Connections.h:7,
from QtellaSub.cpp:4:
/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
QtellaSub.cpp: In constructor `QtellaSub::QtellaSub(QApplication*, const char*,
unsigned int)':
QtellaSub.cpp:360: call of overloaded `basic_string(QString)' is ambiguous
/usr/include/c++/3.2/bits/basic_string.tcc:226: candidates are:
std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*,
const _Alloc& = _Alloc()) [with _CharT = char, _Traits =
std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/include/c++/3.2/bits/basic_string.tcc:192:
std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const
std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits =
std::char_traits<char>, _Alloc = std::allocator<char>]
basically, that same error is riddled throughout the file in various places.
what do i do? thanks for the help,
christopher
P.S. i compiled qt with stl support