Hi Brad, I've merged the change to DatabasePager.cpp to comment out the debug messages, but the change to Program.cpp is a useful reminder that this functionality is not complete yet so I'll keep this as it is.
Cheers, Robert. On Thu, Dec 2, 2010 at 6:57 AM, Christiansen, Brad <[email protected]> wrote: > Hi, > > Everything is working as expected against my OSG based applications. I am > using Windows 7 and Visual Studio 2010 32 bit. > The DatabasePager is being very noising when using precompilation due to a > couple of debug lines being printed to the console. I have attached a > modified version with these lines commented out. > > I also received a few compiler warnings: > > 3>..\..\..\..\..\Source\src-osg\src\osg\Program.cpp(346): warning C4060: > switch statement contains no 'case' or 'default' labels > I have attached a fix for this one. > > 79>d:\osg\source\src-osg\src\osgplugins\3ds\lib3ds\lib3ds_track.c(268): > warning C4701: potentially uninitialized local variable 'in' used > I haven't looked at this. > > > 3>..\..\..\..\..\Source\src-osg\src\osg\glu\libtess\tess.cpp(505): warning > C4611: interaction between '_setjmp' and C++ object destruction is > non-portable > I looked into this but have no idea what to do about it. MSDN ( > http://msdn.microsoft.com/en-us/library/aa449422.aspx ) defines the warning > as such: > "interaction between '_setjmp' and C++ object destruction is non-portable > On some hardware platforms, functions that include _setjmp may not support > C++ object semantics of destruction when out of scope. > To avoid unexpected behavior, avoid using _setjmp in functions that have > constructors and destructors." > I looked at the code and couldn't even figure out which bit the warning > applies to. It doesn't seem to cause any issue however as I make use of the > tessaltor. > > I will try and fix the osgb issues with archives and optionaly loaded image > layers in the next day or too. > > Cheers, > Brad > > > > > > > > > > DISCLAIMER:--------------------------------------------------------------------------- > This e-mail transmission and any documents, files and previous e-mail messages > attached to it are private and confidential. They may contain proprietary or > copyright > material or information that is subject to legal professional privilege. They > are for > the use of the intended recipient only. Any unauthorised viewing, use, > disclosure, > copying, alteration, storage or distribution of, or reliance on, this message > is > strictly prohibited. No part may be reproduced, adapted or transmitted > without the > written permission of the owner. If you have received this transmission in > error, or > are not an authorised recipient, please immediately notify the sender by > return email, > delete this message and all copies from your e-mail system, and destroy any > printed > copies. Receipt by anyone other than the intended recipient should not be > deemed a > waiver of any privilege or protection. Thales Australia does not warrant or > represent > that this e-mail or any documents, files and previous e-mail messages > attached are > error or virus free. > -------------------------------------------------------------------------------------- > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
