Hi Joel, I must admit that I'm not familiar with ms-vs, but according to msdn the compiler switch /Za should turn off all ms-extensions and force strict ansi C++. I always use gcc with -ansi -pedantic, which does the same. Maybe you should give /Za a try, hopefully it will switch of the C++0x extension, too.
Just a guess... Best regards, Oli Am Montag, 25. Oktober 2010, 20:05:46 schrieb Joel Graff: > Oli, > > Thanks for the response. > > I took a look around in VS2010 and couldn't find an option to switch it > off, so I added your suggestion as a command-line option, but to no avail. > > A little time on google turned up this rather unfortunate post: > > (I'd post the URL, but the forum rules won't let me!) > > "C++0X features: There is no direct way to switch off these features. One > workaround is to not use them. However, note that there will still be > marked difference in performance across versions of VC runtime. VC10 > implements move semantics and the standard library (std::string for > example) uses these features generously. > > A reasonable compromise in my opinion is to switch back to VS2008. Recent > VS versions have been notoriously buggy (so far, in my experience) and > have never worked the way they should without a Service Pack. VS2008 is > pretty stable now, without any of those C++0x features and ought to fit > your bill." > > Looks like I either install VS2008 (which I'd rather not), or mod the > code... > > Thanks... > > Joel > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=33062#33062 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Oliver Burtchen, Berlin _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

