https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117293
--- Comment #5 from m.cencora at gmail dot com --- > I'd say that warning is not expected, because user's code didn't (directly > or indirectly) call the deprecated constructor. Or to state it differently: user calls the Bar(const string&) overload, and the mere existence of another (not-selected or even non-viable) overload should not trigger any warnings coming from this additional overloads.