verilator/test_regress/t/t_func_no_lifetime_bad.out

30 lines
2.1 KiB
Plaintext

%Warning-IMPLICITSTATIC: t/t_func_no_lifetime_bad.v:26:17: Function/task's lifetime implicitly set to static
: ... Suggest use 'function automatic' or 'function static'
26 | function int f_implicit_static();
| ^~~~~~~~~~~~~~~~~
t/t_func_no_lifetime_bad.v:27:11: ... Location of implicit static variable
: ... The initializer value will only be set once
27 | int cnt = 0;
| ^~~
... For warning description see https://verilator.org/warn/IMPLICITSTATIC?v=latest
... Use "/* verilator lint_off IMPLICITSTATIC */" and lint_on around source to disable this message.
%Warning-IMPLICITSTATIC: t/t_func_no_lifetime_bad.v:31:9: Function/task's lifetime implicitly set to static
: ... Suggest use 'task automatic' or 'task static'
31 | task t_implicit_static();
| ^~~~~~~~~~~~~~~~~
t/t_func_no_lifetime_bad.v:32:11: ... Location of implicit static variable
: ... The initializer value will only be set once
32 | int cnt = 0;
| ^~~
%Warning-IMPLICITSTATIC: t/t_func_no_lifetime_bad.v:9:8: Variable's lifetime implicitly set to static
: ... The initializer value will only be set once
: ... Suggest use 'static' before variable declaration'
9 | int cnt = 0;
| ^~~
%Warning-IMPLICITSTATIC: t/t_func_no_lifetime_bad.v:15:8: Variable's lifetime implicitly set to static
: ... The initializer value will only be set once
: ... Suggest use 'static' before variable declaration'
15 | int cnt = 0;
| ^~~
%Error: Exiting due to