Compiler Error C3204
'_alloca' cannot be called from within a catch block
This error occurs when you use a call to _alloca from within a catch block.
Example
The following sample generates C3204:
// C3204.cpp
// compile with: /EHsc
#include <malloc.h>
void ShowError(void)
{
try
{
}
catch(...)
{
_alloca(1); // C3204
}
}
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