[Bug target/115874] sh.c appears to be missing include of stdio.h

joel at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 11 16:09:50 GMT 2024


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

Joel Sherrill <joel at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
               Host|                            |cygwin
             Target|                            |sh-rtems6

--- Comment #1 from Joel Sherrill <joel at gcc dot gnu.org> ---
I tried adding include of <cstdio> and then <stdio.h> but never directly solved
the problem. fputs_unlocked() is under a __GNU_VISIBLE guard. I added a define
of _GNU_SOURCE above the include of <stdio.h> but that didn't help.


More information about the Gcc-bugs mailing list