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

Richard Henderson <rth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |rth at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #1 from Richard Henderson <rth at gcc dot gnu.org> ---
Not a bug -- fn1 is not a function with no arguments,
but an unprototyped function.  To get a function with
no arguments you must write

void fn1 (void) {}

This is C, not C++.

Reply via email to