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.
'#pragma pragma' can only be used at global or namespace scope
Some pragmas cannot be used in a function. See Pragma Directives and the __Pragma Keyword for more information.
Example
The following sample generates C3295.
// C3295.cpp
int main() {
#pragma managed // C3295
}