Compiler Warning (level 1) C4218

nonstandard extension used : must specify at least a storage class or a type

Microsoft C/C++ allows you to declare a variable without specifying a type or storage class. The default type is int.

The following example causes this warning:

i;  // warning

This extension can prevent your code from being portable to other compilers and will generate an error under the /Za command-line option.