Zonder
Topic Author
Posts: 3
Joined: 27 Aug 2012, 22:39

c++/clr project for integration with mogre

06 Sep 2012, 18:47

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;
 
User avatar
jsantos
Site Admin
Posts: 4123
Joined: 20 Jan 2012, 17:18
Contact:

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

07 Sep 2012, 18:09

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.
 
User avatar
jsantos
Site Admin
Posts: 4123
Joined: 20 Jan 2012, 17:18
Contact:

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

14 Sep 2012, 13:27

Fixed in 0.9.5

Who is online

Users browsing this forum: Bing [Bot] and 2 guests