> On a related note, I got an error in osgthirdpersonview: > "near" and "far" are defined by windows.h (or a header > included from windows.h), and since that's being included > everywhere now, there was a clash with the variables of the > same name in that example. Just renaming them fixed it. I can > submit that or you can decide on a suitable name and submit it.
"near" and "far" are not reserved words in standard C++. The variable names should remain as-is. Instead, I'd propose that _no_ OSG header should _ever_ #include _any_ platform-specific header file (such as windows.h). Platform-specific headers should be #included in .cpp files only. Implementation-hiding is something that C++ is supposed to be good at, but the author of this recent change to the OT Atomic header failed to consider this. This is broken and needs to be fixed. -Paul _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

