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
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for