https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56723
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |mpolacek at gcc dot gnu.org Resolution|--- |FIXED --- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Fixed by one of David's changes: 56723.C: In function ‘int docall()’: 56723.C:8:3: error: invalid conversion from ‘int (*)(int*)’ to ‘int (*)(double*)’ [-fpermissive] 8 | f); | ^ | | | int (*)(int*) 56723.C:3:22: note: initializing argument 3 of ‘int callf(int, int, int (*)(double*))’ 3 | int callf (int, int, int (*)(double *)); | ^~~~~~~~~~~~~~~~~