RenderSystems/GLES2/src/StateCacheManager/OgreGLES2UniformCacheImp.cpp does not compile

Description

Two issues I found so far:
1. For some reason, Ogre::FastHash could not be found this CPP file. Including "OgreCommon.h" seems to fix this, although I'm not sure if this is the best location to put it.

2. GCC 4.6's hash map does not seem to have a reserve() method. Removing it allows compilation to happen just fine, but I am unsure of the performance implications. Would this trigger a re-hash consistently for the first few uses of this?

Environment

Android 4.1
GCC 4.6
NDK r9

Activity

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created October 14, 2013 at 5:39 PM
Updated November 9, 2013 at 3:50 AM
Resolved November 9, 2013 at 3:50 AM