If you enable the Empty Declarations setting, the compiler issues a warning when it encounters a declaration with no variable name.
For example:
int ; // WARNING
int i; // OK
The Empty Declarations setting corresponds to the pragma warn_emptydecl. To check this setting, use __option (warn_emptydecl).
See Checking Option Settings for information on how to use this directive.