Compiler Error C0091

Message: Recursion in base function block list: <function name>

Possible error cause: A base function block is extended by itself.

Error correction: Recursion in base function block lists is not possible.

Example of the error:

PROGRAM MAIN
VAR
    inst : FB;
END_VAR


FUNCTION_BLOCK FB EXTENDS FB
VAR
END_VAR

Message:

C0091: Recursion in base function block list: FB -> FB