[Bug libstdc++/120390] Request to improve error with private destructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120390 --- Comment #6 from nightstrike --- (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.
[Bug libstdc++/120390] Request to improve error with private destructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120390 Jonathan Wakely changed: What|Removed |Added Component|c++ |libstdc++ --- Comment #5 from Jonathan Wakely --- (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.