missing type specifier – int assumed. Note: C++ does not support default-int


MSDN에 한글로 번역돼있지만 뭔소린지 잘 모르겠다.


// C4430.cpp
// compile with: /c
struct CMyClass {
   CUndeclared m_myClass;  // C4430
   int m_myClass;  // OK

typedef struct {
   POINT();   // C4430
   // try the following line instead
   // int POINT();
   unsigned x;
   unsigned y;


소스코드를 보면…int를 명시적으로 선언하라는 것 같다.



Leave a Reply

Your email address will not be published. Required fields are marked *

 characters available