Attribute 'suppress_wrn_C0410'

The attribute 'suppress_wrn_C0410' must be used instead of the pragma 'warning disable' for the compiler warning with the ID C0410.

Syntax: {attribute 'suppress_wrn_C0410'}

Example:

Compiler warning for a property:


C0410: COMPATIBILITY WARNING: A write access to a Property of type REFERENCE calls the SET-Accessor for versions < 3.1.4022.0 and writes the reference, but calls the GET-Accessor for versions >= 3.1.4022.0 and writes the value! Use the operator REF= if you want to assign the reference.

Applying the attribute to a property:

{attribute 'suppress_wrn_C0410'}
PROPERTY refSample : REFERENCE TO BOOL

On account of the attribute the warning C0410 will not be generated for the property refSample.