Skip to main content

Compiler Warning C0351

Message: The attribute <attribute name> is unknown and will be ignored by the compiler

Possible error cause: There is a spelling mistake in an attribute name.

Error correction: If you are using a predefined attribute, then make sure that the attribute is spelled correctly (in the example: call_after_init).

Example 467. Example of the warning
{attribute 'call_after_ini'}
PROGRAM PLC_PRG
VAR
END_VAR

Message:

C0351: The attribute call_after_ini is unknown and will be ignored by the compiler