◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Compiler error C2093 cannot use address of automatic variable as static initializer The program tried to use the address of an automatic variable in the initializer of a static item, as in the following example: func() { int i; static int *ip=&i; ∙ ∙ ∙ } -♦-