Compiler Error C2185

 

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 C2185.

identifier' : illegal based allocation

A register variable or automatic (local) variable is declared __based. Only global variables can be declared __based.

Show: