warn_extracomma

Controls the recognition of superfluous commas.

Syntax

#pragma warn_extracomma on | off | reset

Targets
All platforms.
Remarks

If you enable this pragma, the compiler issues a warning when it encounters an extra comma. For more information about this warning, see “Extra Commas”.

This pragma corresponds to the Extra Commas setting . To check this setting, use __option (warn_extracomma), described in Checking Settings. The default setting is off.