Muokkaa

Jaa


Compiler Error C3383

'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
}