HI Terry, This looks like buggy standard library headers, perhaps we will have to disable this particular warning. The reason why you see the warning now is that I've made compiling with aggressive warnings the default, so issues are highlighted that weren't before, including problems with the installed headers...
Robert. On Thu, Feb 5, 2009 at 3:27 AM, Terry Welsh <mogu...@gmail.com> wrote: > Fedora 7, gcc 4.1.2. When compiling I get endless warnings like the > ones following this message. But I've tested with a couple very > demanding apps and can't see any runtime problems. > -- > Terry Welsh / mogumbo 'at' gmail.com > www.reallyslick.com / www.mogumbo.com > > > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/i386-redhat-linux/bits/c++locale.h: > In function 'int std::__convert_from_v(char*, int, const char*, _Tv, > __locale_struct* const&, int) [with _Tv = double]': > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/locale_facets.tcc:1099: > instantiated from '_OutIter std::num_put<_CharT, > _OutIter>::_M_insert_float(_OutIter, std::ios_base&, _CharT, char, > _ValueT) const [with _ValueT = double, _CharT = char, _OutIter = > std::ostreambuf_iterator<char, std::char_traits<char> >]' > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/locale_facets.tcc:1259: > instantiated from '_OutIter std::num_put<_CharT, > _OutIter>::do_put(_OutIter, std::ios_base&, _CharT, double) const > [with _CharT = char, _OutIter = std::ostreambuf_iterator<char, > std::char_traits<char> >]' > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/locale_facets.h:2365: > instantiated from '_OutIter std::num_put<_CharT, > _OutIter>::put(_OutIter, std::ios_base&, _CharT, double) const [with > _CharT = char, _OutIter = std::ostreambuf_iterator<char, > std::char_traits<char> >]' > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/ostream.tcc:370: > instantiated from 'std::basic_ostream<_CharT, _Traits>& > std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = > char, _Traits = std::char_traits<char>]' > /usr/local/src/OpenSceneGraph-2.8.0-rc1/src/osg/CullSettings.cpp:116: > instantiated from here > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/i386-redhat-linux/bits/c++locale.h:86: > warning: format not a string literal, argument types not checked > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/i386-redhat-linux/bits/c++locale.h:86: > warning: format not a string literal, argument types not checked > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org