[Solved] error C4430: missing type specifier – int assumed. Note: C++ does not support default-int

Error generating in VS2008: error c4430: missing type specifier – int assumed Note: C++ does not support default-int

This is because in VC6, if the specified return value type is not displayed, the compiler treats it as the default integer. However, VS2005 does not support default integers.

Solution:
open the project – project properties – configuration properties – C/C + + – command line, and add the /wd4430 option to the additional options.

Similar Posts: