Compiler Error C3383
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at 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,
The following sample generates C3383.
// C3383.cpp
// compile with: /clr:safe
int main() {
char* pCharArray = new char[256]; // C3383
}
Show: