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.
'operator new' is not supported with /clr:safe
The output file of a /clr:safe compilation is a file that is verifiably type safe, and pointers are not supported.
For more information, see,
Example
The following sample generates C3383.
// C3383.cpp
// compile with: /clr:safe
int main() {
char* pCharArray = new char[256]; // C3383
}