RAD Studio
ContentsIndex
PreviousUpNext
E2189: extern variable cannot be initialized (C++)

The storage class extern applied to a variable means that the variable is being declared but not defined here--no storage is being allocated for it. 

Therefore, you can't initialize the variable as part of the declaration.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!