
With the most recent boost CVS I get the new EDG warning below (MIPSpro 7.41 = EDG 245). Is this warning useful? Or should I simply turn it off? Thanks! Cheers, Ralf cc-3624 CC: WARNING File = /net/grass/scratch1/rwgk/auto_build/sources/boost/boost/lexical_cast.hpp, Line = 338 function "std::basic_streambuf<char, std::char_traits<char>>::setbuf(std::basic_streambuf<char, std::char_traits<char>>::char_type *, std::streamsize)" is hidden by "boost::detail::lexical_streambuf<boost::detail::widest_char<boost::d etail::stream_char<unsigned short>::type, boost::detail::stream_char<boost::detail::array_to_pointer_decay<std: :basic_string<char, std::char_traits<char>, std::allocator<char>>>::type>::type>::type>::setbuf" -- virtual function override intended? void setbuf(CharT* start, CharT* finish) ^ A template was detected during header processing. instantiation of class "boost::detail::lexical_streambuf<boost::detail::widest_c har<boost::detail::stream_char<unsigned short>::type, boost::detail::stream_char<boost::detail::array_to_pointe r_decay<std::basic_string<char, std::char_traits<char>, std::allocator<char>>>::type>::type>::type>" at line 621 instantiation of "bool boost::detail::lexical_stream_limited_src<boost::detail:: widest_char<boost::detail::stream_char<unsigned short>::type, boost::detail::stream_char<boost::detail::array_to_pointe r_decay<std::basic_string<char, std::char_traits<char>, std::allocator<char>>>::type>::type>::type>::operator>>(u nsigned short &)" at line 853 instantiation of "unsigned short boost::detail::lexical_cast(boost::call_traits<boost::det ail::array_to_pointer_decay<std::basic_string<char, std::char_traits<char>, std::allocator<char>>>::type>::value_type, boost::detail::widest_char<boost::detail::stream_char<uns igned short>::type, boost::detail::stream_char<boost::detail::array_to_pointe r_decay<std::basic_string<char, std::char_traits<char>, std::allocator<char>>>::type>::type>::type *, std::size_t)" at line 875 instantiation of "unsigned short boost::lexical_cast(const std::basic_string<char, std::char_traits<char>, std::allocator<char>> &)" at line 137 of "/net/grass/scratch1/rwgk/auto_build/sources/boost/boost/ date_time/date_parsing.hpp" instantiation of "boost::gregorian::date boost::date_time::parse_date(const std::string &, int)" __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

I renamed setbuf to lcast_setbuf. Ralf W. Grosse-Kunstleve wrote:
With the most recent boost CVS I get the new EDG warning below (MIPSpro 7.41 = EDG 245). Is this warning useful? Or should I simply turn it off? Thanks! Cheers, Ralf
-- Alexander Nasonov Project Manager at Akmosoft ( http://www.akmosoft.com ) Blog: http://nasonov.blogspot.com Email: $(FirstName) dot $(LastName) at gmail dot com
participants (2)
-
Alexander Nasonov
-
Ralf W. Grosse-Kunstleve