billb (User)
Fresh Boarder
Posts: 4
|
|
Re:[Yellow Dog Linux 6 / PS3] Card colors off 6 Months ago
|
Karma: 0
|
QUOTE: This should be a warning not an error. Are you sure the compiler was aborting and not simply ignoring the option?
Thank you for the response.
Yes -- I'm positive it was aborting. YDL6 has gcc-4.1.1. I had to upgrade the included boost-devel from 1.33 to 1.34.
Here are the warnings I got (after commenting out the QMAKE_LFLAGS += -no_dead_strip_inits_and_terms lines):
Warnings:
| Code: |
src/core/common/avatarmanager.cpp: In member function ‘void AvatarManager::RemoveOldAvatarCacheEntries()’:
src/core/common/avatarmanager.cpp:496: warning: comparison between signed and unsigned integer expressions
src/third_party/tinyxml/tinystr.cpp:39: warning: missing braces around initializer for ‘char [1]’
In file included from src/third_party/libircclient/src/libircclient.c:17:
src/third_party/libircclient/src/portable.c:120: warning: unused parameter ‘mutex’
src/third_party/libircclient/src/portable.c:121: warning: unused parameter ‘mutex’
src/third_party/libircclient/src/portable.c:122: warning: unused parameter ‘mutex’
src/third_party/libircclient/src/portable.c:123: warning: unused parameter ‘mutex’
In file included from src/third_party/libircclient/src/libircclient.c:23:
src/third_party/libircclient/src/utils.c:70: warning: unused parameter ‘event’
src/third_party/libircclient/src/utils.c:70: warning: unused parameter ‘count’
src/third_party/libircclient/src/libircclient.c: In function ‘libirc_process_incoming_data’:
src/third_party/libircclient/src/libircclient.c:410: warning: comparison between signed and unsigned
/usr/include/boost/iostreams/read.hpp: In instantiation of ‘static bool boost::iostreams::detail::true_eof_impl<false>::true_eof(T&) [with T = boost::iostreams::filtering_streambuf<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::public_>]’:
/usr/include/boost/iostreams/read.hpp:89: instantiated from ‘bool boost::iostreams::detail::true_eof(T&) [with T = boost::iostreams::filtering_streambuf<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::public_>]’
/usr/include/boost/iostreams/read.hpp:153: instantiated from ‘static std::streamsize boost::iostreams::detail::read_device_impl<boost::iostreams::streambuf_tag>::read(T&, typename boost::iostreams::char_type_of<T>::type*, std::streamsize) [with T = boost::iostreams::filtering_streambuf<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::public_>]’
/usr/include/boost/iostreams/read.hpp:51: instantiated from ‘std::streamsize boost::iostreams::read(T&, typename boost::iostreams::char_type_of<T>::type*, std::streamsize) [with T = boost::reference_wrapper<boost::iostreams::filtering_streambuf<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::public_> >]’
/usr/include/boost/iostreams/copy.hpp:115: instantiated from ‘std::streamsize boost::iostreams::detail::copy_impl(Source&, Sink&, std::streamsize, mpl_::false_, mpl_::false_) [with Source = boost::reference_wrapper<boost::iostreams::filtering_streambuf<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::public_> >, Sink = boost::reference_wrapper<std::basic_ofstream<char, std::char_traits<char> > >]’
/usr/include/boost/iostreams/copy.hpp:136: instantiated from ‘std::streamsize boost::iostreams::detail::copy_impl(Source, Sink, std::streamsize) [with Source = boost::reference_wrapper<boost::iostreams::filtering_streambuf<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::public_> >, Sink = boost::reference_wrapper<std::basic_ofstream<char, std::char_traits<char> > >]’
/usr/include/boost/iostreams/copy.hpp:191: instantiated from ‘std::streamsize boost::iostreams::copy(Source&, Sink&, std::streamsize, typename boost::enable_if<boost::iostreams::is_std_io<T>, void>::type*, typename boost::enable_if<boost::iostreams::is_std_io<Sink>, void>::type*) [with Source = boost::iostreams::filtering_streambuf<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::public_>, Sink = std::ofstream]’
src/net/common/clientstate.cpp:437: instantiated from here
/usr/include/boost/iostreams/read.hpp:82: warning: unused parameter ‘t’
src/gui/qt/guiwrapper.cpp:232:57: warning: no newline at end of file
src/gui/qt/gametable/myavatarlabel.cpp:32: warning: unused parameter ‘event’
src/gui/qt/gametable/myavatarlabel.cpp:37: warning: unused parameter ‘pos’
/usr/include/boost/date_time/time_facet.hpp: In instantiation of ‘boost::date_time::time_facet<time_type, CharT, OutItrT>::time_facet(size_t) [with time_type = boost::posix_time::ptime, CharT = char, OutItrT = std::ostreambuf_iterator<char, std::char_traits<char> >]’:
/usr/include/boost/date_time/posix_time/posix_time_io.hpp:59: instantiated from ‘std::basic_ostream<_CharT, _Traits>& boost::posix_time::operator<<(std::basic_ostream<_CharT, _Traits>&, const boost::posix_time::ptime&) [with CharT = char, TraitsT = std::char_traits<char>]’
src/core/common/loghelper_server.cpp:61: instantiated from here
/usr/include/boost/date_time/time_facet.hpp:200: warning: unused parameter ‘a_ref’
/usr/include/boost/date_time/time.hpp: In instantiation of ‘std::string boost::date_time::base_time<T, time_system>::zone_abbrev(bool) const [with T = boost::posix_time::ptime, time_system = boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config> >]’:
/usr/include/boost/date_time/time_facet.hpp:263: instantiated from ‘OutItrT boost::date_time::time_facet<time_type, CharT, OutItrT>::put(OutItrT, std::ios_base&, typename boost::date_time::date_facet<typename time_type::date_type, CharT, OutItrT>::char_type, const time_type&) const [with time_type = boost::posix_time::ptime, CharT = char, OutItrT = std::ostreambuf_iterator<char, std::char_traits<char> >]’
/usr/include/boost/date_time/posix_time/posix_time_io.hpp:51: instantiated from ‘std::basic_ostream<_CharT, _Traits>& boost::posix_time::operator<<(std::basic_ostream<_CharT, _Traits>&, const boost::posix_time::ptime&) [with CharT = char, TraitsT = std::char_traits<char>]’
src/core/common/loghelper_server.cpp:61: instantiated from here
/usr/include/boost/date_time/time.hpp:87: warning: unused parameter ‘as_offset’
/usr/include/boost/date_time/time.hpp: In instantiation of ‘std::string boost::date_time::base_time<T, time_system>::zone_name(bool) const [with T = boost::posix_time::ptime, time_system = boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config> >]’:
/usr/include/boost/date_time/time_facet.hpp:277: instantiated from ‘OutItrT boost::date_time::time_facet<time_type, CharT, OutItrT>::put(OutItrT, std::ios_base&, typename boost::date_time::date_facet<typename time_type::date_type, CharT, OutItrT>::char_type, const time_type&) const [with time_type = boost::posix_time::ptime, CharT = char, OutItrT = std::ostreambuf_iterator<char, std::char_traits<char> >]’
/usr/include/boost/date_time/posix_time/posix_time_io.hpp:51: instantiated from ‘std::basic_ostream<_CharT, _Traits>& boost::posix_time::operator<<(std::basic_ostream<_CharT, _Traits>&, const boost::posix_time::ptime&) [with CharT = char, TraitsT = std::char_traits<char>]’
src/core/common/loghelper_server.cpp:61: instantiated from here
/usr/include/boost/date_time/time.hpp:80: warning: unused parameter ‘as_offset’
|
|
|