[Bug c/117865] "error: too many arguments to function" with C23 doesn't show function pointer location

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Dec 1 01:08:58 GMT 2024


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117865

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
C++ front-end is not any better:
```
<source>: In function 'void baz()':
<source>:8:10: error: too many arguments to function
    8 |     q.bar(1);
      |     ~~~~~^~~
```


More information about the Gcc-bugs mailing list