SA0171: Enumeration should have the 'strict' attribute
Detects declarations of enumerations which are not provided with the {attribute 'strict'} attribute.
Justification: The {attribute 'strict'} attribute causes compiler errors to be issued if the code violates strict programming rules for enumerations. By default, when a new enumeration is created, the declaration is automatically assigned the 'strict' attribute.
For more information, see: Data Type: Enumeration
Importance: High
Example 129. Example
TYPE COLOR :
(
    red,
    green,
    blue
);
END_TYPEOutput in the Messages view:
 SA0171: Enumeration should have the 'strict' attribute
No violation of programming rules:
{attribute 'qualified_only'}
{attribute 'strict'}
TYPE COLOR :
(
    red,
    green,
    blue
);
END_TYPE