https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104760

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I think I've argued in another bug that it might be reasonable to not warn
about uses within the same header (since that is likely to be part of the same
library, and the warnings are probably intended for users of the library code,
not within the library itself). But in the absence of such a rule, disabling
the warnings locally using pragmas seems reasonable to me. That works for any
library, not just the std::lib.

Reply via email to