gwaldron/osgearth — Issue #48: Compile errors on OS X
Author: kyngchaos
Created: 2011-11-10 15:27:46+00:00
State: open

In current master:

```
[ 2%] Building CXX object src/osgEarth/CMakeFiles/osgEarth.dir/Cache.cpp.o
In file included from /Users/Shared/src/osgearth/git/osgearth/src/osgEarth/Cache:27,
from /Users/Shared/src/osgearth/git/osgearth/src/osgEarth/Cache.cpp:19:
/Users/Shared/src/osgearth/git/osgearth/src/osgEarth/ThreadingUtils: In member function ‘DATA* osgEarth::Threading::PerObjectRefMap::get(KEY)’:
/Users/Shared/src/osgearth/git/osgearth/src/osgEarth/ThreadingUtils:320: error: expected `;' before ‘i’
/Users/Shared/src/osgearth/git/osgearth/src/osgEarth/ThreadingUtils:321: error: ‘i’ was not declared in this scope
```

osgearth compiled fine back in July. This errors appears in a completely new block of code in ThreadingUtils.

GCC 4.2.1, OS X 10.6 & 10.7