### warn_structclass

Controls the issuing of warnings for the inconsistent use of the class and struct keywords.

##### Syntax

#pragma warn_structclass on | off | reset

##### Targets

All platforms.

##### Remarks

If you enable this pragma, the compiler issues a warning if you use the class and struct keywords in the definition and declaration of the same identifier. For more information about this warning, see Mixed Use of ‘class’ and ‘struct’ Keywords.

This pragma corresponds to the Inconsistent ‘class’ / ‘struct’ Usage setting . To check this setting, use __option (warn_structclass), described in Checking Settings. The default setting is off.