We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expr.c:1044:30: error: incompatible function pointer types passing 'rtx (rtx, ...)' (aka 'struct rtx_def *(struct rtx_def *, ...)') to parameter of type 'rtx (*)(rtx, rtx)' (aka 'struct rtx_def *(*)(struct rtx_def *, struct rtx_def *)') [-Wincompatible-function-pointer-types] move_by_pieces_1(GEN_FCN(icode), mode, &data); ^~~~~~~~~~~~~~ expr.c:1216:27: error: incompatible function pointer types initializing 'rtx (*)(rtx, rtx, rtx, rtx)' (aka 'struct rtx_def *(*)(struct rtx_def *, struct rtx_def *, struct rtx_def *, struct rtx_def *)') with an expression of type 'rtx (rtx, ...)' (aka 'struct rtx_def *(struct rtx_def *, ...)') [-Wincompatible-function-pointer-types] rtx (*gen_insn)(rtx, rtx, rtx, rtx) = GEN_FCN ((int) code); ^ ~~~~~~~~~~~~~~~~~~~~ expr.c:1729:31: error: incompatible function pointer types passing 'rtx (rtx, ...)' (aka 'struct rtx_def *(struct rtx_def *, ...)') to parameter of type 'rtx (*)(rtx, rtx)' (aka 'struct rtx_def *(*)(struct rtx_def *, struct rtx_def *)') [-Wincompatible-function-pointer-types] clear_by_pieces_1(GEN_FCN(icode), mode, &data); ^~~~~~~~~~~~~~ expr.c:1835:31: error: incompatible function pointer types initializing 'rtx (*)(rtx, rtx, rtx)' (aka 'struct rtx_def *(*)(struct rtx_def *, struct rtx_def *, struct rtx_def *)') with an expression of type 'rtx (rtx, ...)' (aka 'struct rtx_def *(struct rtx_def *, ...)') [-Wincompatible-function-pointer-types] rtx (*gen_insn)(rtx, rtx, rtx) = GEN_FCN ((int) code); ^ ~~~~~~~~~~~~~~~~~~~~ expr.c:1995:15: error: incompatible function pointer types initializing 'rtx (*)(rtx, rtx)' (aka 'struct rtx_def *(*)(struct rtx_def *, struct rtx_def *)') with an expression of type 'rtx (rtx, ...)' (aka 'struct rtx_def *(struct rtx_def *, ...)') [-Wincompatible-function-pointer-types] rtx (*gen_insn)(rtx, rtx) = GEN_FCN (mov_optab->handlers[(int) mode].insn_code); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expr.c:2012:15: error: incompatible function pointer types initializing 'rtx (*)(rtx, rtx)' (aka 'struct rtx_def *(*)(struct rtx_def *, struct rtx_def *)') with an expression of type 'rtx (rtx, ...)' (aka 'struct rtx_def *(struct rtx_def *, ...)') [-Wincompatible-function-pointer-types] rtx (*gen_insn)(rtx, rtx) = GEN_FCN (mov_optab->handlers[(int) submode].insn_code); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expr.c:2328:31: error: incompatible function pointer types initializing 'rtx (*)(rtx, rtx, rtx, rtx)' (aka 'struct rtx_def *(*)(struct rtx_def *, struct rtx_def *, struct rtx_def *, struct rtx_def *)') with an expression of type 'rtx (rtx, ...)' (aka 'struct rtx_def *(struct rtx_def *, ...)') [-Wincompatible-function-pointer-types] rtx (*gen_insn)(rtx, rtx, rtx, rtx) = GEN_FCN ((int) code); ^ ~~~~~~~~~~~~~~~~~~~~ expr.c:8854:19: error: incompatible function pointer types initializing 'rtx (*)(rtx, rtx, rtx)' (aka 'struct rtx_def *(*)(struct rtx_def *, struct rtx_def *, struct rtx_def *)') with an expression of type 'rtx (rtx, ...)' (aka 'struct rtx_def *(struct rtx_def *, ...)') [-Wincompatible-function-pointer-types] rtx (*gen_insn)(rtx, rtx, rtx) = GEN_FCN (icode); ^ ~~~~~~~~~~~~~~~ expr.c:8863:19: error: incompatible function pointer types initializing 'rtx (*)(rtx, rtx, rtx)' (aka 'struct rtx_def *(*)(struct rtx_def *, struct rtx_def *, struct rtx_def *)') with an expression of type 'rtx (rtx, ...)' (aka 'struct rtx_def *(struct rtx_def *, ...)') [-Wincompatible-function-pointer-types] rtx (*gen_insn)(rtx, rtx, rtx) = GEN_FCN (icode); ^ ~~~~~~~~~~~~~~~ 29 warnings and 9 errors generated.
laqieer/agbcc@ec3f48a
pret/agbcc#68, pret/agbcc#69, pret/agbcc#73
The text was updated successfully, but these errors were encountered:
Allow implicit-function-declaration to build using GCC14/Clang15
ec3f48a
patch source: pret#73 (comment)
No branches or pull requests
Error
Solution
laqieer/agbcc@ec3f48a
Reference
pret/agbcc#68, pret/agbcc#69, pret/agbcc#73
The text was updated successfully, but these errors were encountered: