C: \ program files \ Microsoft visual studio 10.0 (x86) vc \ \ include \ yvals h (533) : error C4430: lack of type specifier - is assumed to be int, note: c + + does not support default int
Posted on the wrong part and related are defined as follows:
/* */NAMESPACE
# if defined (__cplusplus)
# define _STD_BEGIN namespace STD {
# define _STD_END}
# define _STD: : STD: :
# define _STDEXT_BEGIN namespace stdext {
# define _STDEXT_END}
# define _STDEXT: : stdext: :
# ifdef _STD_USING
# define _C_STD_BEGIN namespace STD {
# define _C_STD_END}
# define _CSTD: : STD: :
# the else
# define _C_STD_BEGIN
# define _C_STD_END
# define _CSTD: :
# endif
# define _C_LIB_DECL extern "C" {
# define _END_C_LIB_DECL}
# define _EXTERN_C extern "C" {
# define _END_EXTERN_C}
__cplusplus # else/* */
# define _STD_BEGIN
# define _STD_END
# define _STD
# define _C_STD_BEGIN
# define _C_STD_END
# define _CSTD
# define _C_LIB_DECL
# define _END_C_LIB_DECL
# define _EXTERN_C
# define _END_EXTERN_C
__cplusplus # endif/* */
# define _Restrict restrict
# ifdef __cplusplus
_STD_BEGIN
Typedef bool _Bool;//error line 535
_STD_END
__cplusplus # endif/* */
Internet said there should be at the back of the "} "add a semicolon, are still the same error after, don't know why, want to Montana you show just a little
CodePudding user response:
Namespaces have bracesCodePudding user response:
In an earlier ifdef definition, with curly bracesCodePudding user response:
The wrong line commented out first, find the exact error,There are
According to the link to see the macro code
CodePudding user response:
Thank you for your answer,Code didn't appear problem, the root cause of this error is a software version conflicts, I'm using my VS2010 call python that occur when the error, replace the python with low version is not an error, VS2010 versions are older, can only be used with older versions of python,