Hi Paul, The intention is that the clean up of the #prgrama was to enable the 3rd party apps to make their own decisions about warnings - whether to suppress them or to fix/work around them being down the project choice.
There are still three pragma left in include/osg/Export. When USE_AGGRESSIVE_WARNINGS is ON a few more warnings are disabled using build options, but none a suppressed when USE_AGGRESSIVE_WARNINGS is OFF, beside the ones disabled by the pragmas. I'm curious the warnings your see, are they from your own project source code, or are they generated by the OSG headers directly? The later shouldn't produce warnings given the clean up and remaining pragamas. At least that's the theory. Robert. On Thu, Jan 29, 2009 at 7:52 PM, Paul Martz <[email protected]> wrote: > Hi all -- I only caught bits and pieces of the discussion regarding changing > the way that warnings are handled in Visual Studio. I know they used to be > eliminated with #pragmas in the source code, and I assume they are now > eliminated with the /W option (when USE_AGGRESSIVE_WARNINGS is OFF). > > I have about 30 or so projects that include OSG headers, and nearly all of > them are generating several hundred warnings when compiled with VS against > current OSG svn. They all compiled cleanly before this change. > > When you folks were discussing this change, what decision did you make about > external projects? Were you thinking that all external projects should > stifle the warnings by using /W? > > If anyone knows of a way to do this without manually modifying all of my ~30 > projects, I would really appreciate it. I'm not looking forward to doing > this manually. > > Paul Martz > Skew Matrix Software LLC > http://www.skew-matrix.com > +1 303 859 9466 > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

