◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Compiler error C2185 'identifier' : illegal based allocation A based-allocated variable that explicitly has extern storage class and is uninitialized cannot have any of the following bases: ■ (__segment) & var ■ __segment ("_STACK") ■ (__segment) __self ■ void If the variable does not explicitly have extern storage class or is initialized, then its base must use __segname("string") where string is any segment name or reserved segment name except _STACK. -♦-