error: incompatible function pointer types passing 'void (int, int)' to parameter of type 'fn2' (aka 'int (*)(int, int)')
Closed this issue · 1 comments
yurivict commented
clang-16 fails to compile eisl:
link.c:157:28: error: incompatible function pointer types passing 'void (int, int)' to parameter of type 'fn2' (aka 'int (*)(int, int)') [-Wincompatible-function-pointer-types]
init_f2(SETDYNENV_IDX, set_dyn_env);
^~~~~~~~~~~
link.c:158:28: error: incompatible function pointer types passing 'void (int, int)' to parameter of type 'fn2' (aka 'int (*)(int, int)') [-Wincompatible-function-pointer-types]
init_f2(ADDDYNENV_IDX, add_dyn_env);
^~~~~~~~~~~
2 errors generated.
I think that these were warnings in clang-15, but clang-16 became more strict.
Could you please make sure all errors and warnings that are printed by clang-16 are fixed?
Thank you,
Yuri
sasagawa888 commented
It is now removed. Thank you.