Controls the recognition of declarations without variables.
#pragma warn_emptydecl on | off | reset
If you enable this pragma, the compiler displays a warning when it encounters a declaration with no variables as shown in Listing 10.35.
int ; // WARNING
int i; // OK
...
long j;; // WARNING
long j; // OK
...
extern "C" {
...
}; // WARNING
This pragma corresponds to the Empty Declarations setting . To check this setting, use __option (warn_emptydecl), described in Checking Settings. The default setting is off.