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.