errors.hlp (Topic list)
Error Message
                                                  Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler error C2201
 
     'function' : storage class must be extern
 
     A function declaration appears within a block, but the function is
     not declared extern. This causes an error if the /Za option is in
     effect.
 
     For example, the following causes this error, when compiled with
     /Za:
 
          main()
          {
              static int func1();
          }
                                    -♦-