Hi Robert, Sorry about not anwsering sooner, but I was very busy this late afternoon.
I sum up: About the #1 and #3 warnings ("C4239 nonstandard extension", and "C4180"), I suggested in previous posts "static_cast<unsigned int>" and an "add_const<>"-like solution... does it make sense for you? About "C4702 unreachable code", well, I'm really stuck. I told this may be from DatabasePager, but I don't have more clues. ... And sorry about not having much time to test these solutions... maybe later... Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ Le Tue, 03 Feb 2009 16:28:04 +0100, Robert Osfield <robert.osfi...@gmail.com> a écrit: > HI Window dev's, > > I've now checked in fixes for the majority of the warnings that > Sukender reported, there are a few left: > > 2>..\common\Atomic.cpp(133) : warning C4239: nonstandard extension > used : 'static_cast' : conversion from 'volatile const long' to > 'volatile const unsigned int &' > > 24>D:\Prog\Libs\3rdParty\include\GL/glut.h(549) : warning C4505: > 'glutCreateMenu_ATEXIT_HACK' : unreferenced local function has been > removed > > 164>..\..\include\osgIntrospection/Value(373) : warning C4180: > qualifier applied to function type has no meaning; ignored > > 152>d:\prog\libs\openscenegraph\include\osgintrospection\typedconstructorinfo(36) > : warning C4702: unreachable code > > > For the first of these it looks like the & should be removed. For the > GLUT one, this is a header issue, nothing to do with our code so the > only avenue is to ignore or suppress it. The last two errors > generated in osgIntrospection look to me like pretty unhelpful > warnings, and neither look to be ones that point to a problem that > needs to be solved code wise, so I'm inclined to suppress it. > > Thoughts? > Robert. > _______________________________________________ > 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