Fatal Error C1126

 

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 Fatal Error C1126.

identifier' : automatic allocation exceeds size

Space allocated for local variables of a function (plus a limited amount of space used by the compiler, such as an extra 20 bytes for swappable functions) exceeds the limit.

To correct this error, use malloc or new to allocate large amounts of data.

Show: