Thursday, August 12, 2010

static declaration of 'xxx' follows non-static declaration

If you declare a variable as static in your implementation file, then don't declare the same variable in header file.

expected specifier-qualifier-list before extern

There may be many reasons for this. one situation if you variable declaration inside the @interface block in the header file. It should be  outside.