Page 1 of 1

c++/clr project for integration with mogre

Posted: 06 Sep 2012, 18:47
by Zonder
I am getting the following error when compiling

error C2371: 'char16_t' : redefinition; different basic types C:\Projects\NoesisGUI\Include\EABase\eabase.h
Line 756: typedef wchar_t char16_t;

and the other file it is defined in

c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\yvals.h
Line 576: typedef unsigned short char16_t;

Re: c++/clr project for integration with mogre

Posted: 07 Sep 2012, 18:09
by jsantos
please, change in 'eabase.h' this
typedef wchar_t   char16_t;
to
#if _MSC_VER < 1600
    typedef wchar_t   char16_t;
#endif
The next version of NoesisGui will fix this.

Re: c++/clr project for integration with mogre

Posted: 14 Sep 2012, 13:27
by jsantos
Fixed in 0.9.5