Notable improvements: actually being able to do conversions from ptr to ref, some theoretical performance improvements due to best practices (don't call datastructure.end() every time through the loop!), etc.
Corresponding commit: 2b1e9ec
…th clang++ on OS X and iOS that results in the following error: Users/stephan/Documents/Projekte/cefix/cefix/ios/../../libs/ios/include/OpenThreads/Atomic:244:48: error: cannot initialize a parameter of type 'void *' with an lvalue of type 'const void *const' return __sync_bool_compare_and_swap(&_ptr, ptrOld, ptrNew); This can be solved by a cast to '(void*)ptrOld'. This should be benign since both 'ptrOld' and 'ptrNew' are only read and the cast is in fact in place for all other implementations as well. On OS X the cast compiles cleanly on both g++ (i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1) and clang++ (Apple clang version 3.1 (tags/Apple/clang-318.0.54)). "
…ns." Will replace with simpler version from upstream master. This reverts commit 0fd92a7.
The "picky" behavior was introduced in trunk before the 3.0 branch, so we test for a major version of 3 or greater to enable to workaround. cf. http://llvm.org/bugs/show_bug.cgi?id=11280 Should be safe since a const_cast typically does not emit code, but enabled just for the pickier clang versions to be cautious.
However, turns out it needs it in every build configuration.
"Solves" the problem described here: http://www.codesynthesis.com/~boris/blog/2010/01/18/dll-export-cxx-templates/
…s on windows
…mber of reflectors
Clang warning: In file included from src/osgPlugins/Inventor/ConvertToInventor.cpp:80: src/osgPlugins/Inventor/ConvertToInventor.h:117:71: warning: field is uninitialized when used here [-Wuninitialized] osgTexGenS(s.osgTexGenS), osgTexGenT(s.osgTexGenT), osgTexGen(osgTexGen), ^
…is header was deprecated and now removed entirely from libcurl-7.21.7.
From Wang Rui, "This fixes a small problem in the FindFBX file. In CMake scripts, VS2010 is not marked as MSVC100 but MSVC10. And CMake defines MSVC_VERSION instead of MSVC_VER to indicate the version number. The modification can find fbx sdk for VS2010 automatically now. " Conflicts: CMakeModules/FindFBX.cmake