Article ID: 117687
Article Last Modified on 12/2/2003
Source CL.EXE Version Error/Warning C 8.xx error C2062: type 'int' unexpected C++ 8.xx error C2059: syntax error : '__declspec(Storage_Class_Attribute)' C/C++ 9.xx error C2059: syntax error : '__declspec(Storage_Class_Attribute)' C 10.xx error C2059: syntax error : 'type' C++ 10.xx warning C4230: anachronism used : modifiers/qualifiers interspersed, qualifier ignoredwhere "Storage_Class_Attribute" is one of the following:
/* Compile options needed: none to compile as C source * /Tp to compile as C++ source (or use .cpp extension) */ // This declaration will cause the C2062 and C2059 errors: void __cdecl __declspec(dllexport) Function2(void); // This declaration will compile successfully: void __declspec(dllexport) __cdecl Function1(void);
Additional query words: 8.00 9.00 export
Keywords: kberrmsg kbinfo kbcompiler KB117687