Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
'keyword' : cannot modify pointers to data
Remarks
The __stdcall, __cdecl, or __fastcall keyword attempts to modify a pointer to data.
Example
The following example generates C2165:
// C2165.cpp
// compile with: /c
char __cdecl *p; // C2165
char *p; // OK