Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 633 Bytes

compiler-error-c3204.md

File metadata and controls

34 lines (28 loc) · 633 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Error C3204
Compiler Error C3204
11/04/2016
C3204
C3204
06e578da-0262-48c8-b2ae-be1cd6d28884

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