https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97274
--- Comment #2 from Eyal Rozenberg <eyalroz at technion dot ac.il> --- (In reply to Jonathan Wakely from comment #1) > The linker issues the warning, because the symbol in glibc is annotated to > cause a warning. It has nothing to do with GCC. Hmm. There's still a question of responsibility: * Supposing at least some part of GCC is aware that a symbol used is annotated in the library to cause a warning - should it not offer some mechanism for circumventing that warning? Seeing how it's a "legitimate" standard library function? * Otherwise, would this be a bug to file against the linker, or against the library?