https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120390
--- Comment #6 from nightstrike <nightstrike at gmail dot com> --- (In reply to Jonathan Wakely from comment #5) > (In reply to nightstrike from comment #3) > > I know it isn't a bug, > > You're missing the point. It *is* a bug if the diagnostic is bad. My point > is that it's not a *compiler* bug, it's a library bug. > > The compiler is doing exactly what the library code tells it to do. Ah, thank you for the clarification. I didn't understand that distinction, as you surmised.