fix <new> for android debug make error for v1.9

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
yaxinhoo
Gremlin
Posts: 173
Joined: Sun Jun 06, 2010 4:34 pm

fix <new> for android debug make error for v1.9

Post by yaxinhoo »

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 .
yaxinhoo
Gremlin
Posts: 173
Joined: Sun Jun 06, 2010 4:34 pm

Re: fix <new> for android debug make error for v1.9

Post by yaxinhoo »

that is androidloglistener is not Inherit from allocator. i change it Inherit form LogAlloc can fix it too.