Error in 3.0


#1

when I try to compile with cocos2d-x3.0 in visual studio
the erro occurred like this:

j:2d-x\extensions\ccbreader\ccbsequence.h(9): error C2059: 语法错误:“namespace” (…cpp)
6>j:2d-x\extensions\ccbreader\ccbsequence.h(9): error C2334: “{”的前面有意外标记;跳过明显的函数体 (…cpp)
6>j:2d-x\extensions\ccbreader\ccbreader.h(33): error C2059: 语法错误:“namespace” (…cpp)
6>j:2d-x\extensions\ccbreader\ccbreader.h(33): error C2334: “{”的前面有意外标记;跳过明显的函数体 (…cpp)
6>j:2d-x\extensions\ccbreader\ccbvalue.h(11): error C2059: 语法错误:“namespace” (…cpp)
6>j:2d-x\extensions\ccbreader\ccbvalue.h(11): error C2334: “{”的前面有意外标记;跳过明显的函数体 (…cpp)
6>j:2d-x\extensions\ccbreader\ccnodeloader.h(10): error C2059: 语法错误:“namespace” (…cpp)
6>j:2d-x\extensions\ccbreader\ccnodeloader.h(10): error C2334: “{”的前面有意外标记;跳过明显的函数体 (…cpp)
6>j:2d-x\extensions\ccbreader\ccbfileloader.h(7): error C2059: 语法错误:“namespace” (…cpp)
6>j:2d-x\extensions\ccbreader\ccbfileloader.h(7): error C2334: “{”的前面有意外标记;跳过明显的函数体 (…cpp)
6>j:2d-x\extensions\ccbreader\ccbmembervariableassigner.h(7): error C2059: 语法错误:“namespace” (…cpp)
6>j:2d-x\extensions\ccbreader\ccbmembervariableassigner.h(7): error C2334: “{”的前面有意外标记;跳过明显的函数体 (…cpp)
6>j:2d-x\extensions\ccbreader\ccbselectorresolver.h(9): error C2059: 语法错误:“namespace” (…cpp)
6>j:2d-x\extensions\ccbreader\ccbselectorresolver.h(9): error C2334: “{”的前面有意外标记;跳过明显的函数体 (…cp

all the error occurred at NS_CC_EXT_BEGIN, and USING_NS_CC
anynoe knows how to solove this problem?


#2

there is no error in Xcode and android ,but when i use visual studio 2012.
the error occurs


#3

In vs 2010

enum class does not work
should be
typedef enum

There is a lot of other compile errors this will have to be revised before this can be used.
Andre