Hi Tom, I'll have a look at the enum and rename it to something less likely to overlap with other libs over zealous using of #define.
Robert. On Sat, Dec 4, 2010 at 2:51 PM, Thomas Hogarth <[email protected]> wrote: > Hi Robert > Nice one on the fix for the subload it's much appreciated. > >>>Thomas could you test out svn/trunk and let me know how you get on. > Quick test on windows went fine, but now I've moved over to IOS I'm getting > an unrelated compile error. I Optimizer.h there exists an enum > > enum FitsIn > > { > > NO, > > YES, > > IN_NEXT_ROW > > }; > > I think objective c has #defined YES and NO in objc.h as > > #define NO (BOOL)0 > > as I'm getting compile error > > ../OpenSceneGraph-IOS-GLES2/include/osgUtil/Optimizer:763:0 > ../OpenSceneGraph-IOS-GLES2/include/osgUtil/Optimizer:763: error: expected > identifier before '(' token > > What I don't get is why objc.h is included in the first place, it must be > some global include thing. Does anyone know of a setting in xcode that might > disable it. > > Cheers > > Tom > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

