change the ogrememoryallocatorconfig.h line 417
# define OGRE_NEW new (__FILE__, __LINE__, __FUNCTION__)
to
#ifdef __ANDROID__
# define OGRE_NEW new (__FILE__, __LINE__, __FUNCTION__)
#else
# define OGRE_NEW new
#endif
can fix it .
fix <new> for android debug make error for v1.9
-
- Gremlin
- Posts: 173
- Joined: Sun Jun 06, 2010 4:34 pm
-
- Gremlin
- Posts: 173
- Joined: Sun Jun 06, 2010 4:34 pm
Re: fix <new> for android debug make error for v1.9
that is androidloglistener is not Inherit from allocator. i change it Inherit form LogAlloc can fix it too.