Attribute: suppress_warning
The pragma has the effect that the compiler warnings specified in the definition of this pragma are suppressed.
Syntax:
{attribute 'suppress_warning' := '<warning id1>','<warning id2>',...}
Insertion point: Line above the declaration part of a POU or DUT
Example 291. Example
{attribute 'suppress_warning' := '0125'} TYPE DUT_1 : ( enum_member1 := 0, enum_member2 := 0 ); END_TYPE
The warning C0125 is suppressed.