error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
Can you tell me any solution for this error below
error1:
error C4430: missing type specifier - int ass开发者_运维技巧umed. Note: C++ does not support default-int
error2:
error C2143: syntax error : missing ',' before '*'
both the errors in the same line 2
#ifndef _MINIMAL_SERROR_
SError(const SError_idlrec *pRec)\\2
{ ImportData(pRec);}
No, we cannot tell you because you didn't tell us what you want to do. Maybe (I'm guessing now) you want to define a function called SError
. In that case you need to insert the keyword void
as the first word in line 2.
It looks to me like you spammed a few characters into the file on accident. Specifically the \\2
.
Happens to me all the time which is why I always mark source files that don't belong to me as read-only =)
精彩评论