https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103483
--- Comment #29 from Jonathan Wakely <redi at gcc dot gnu.org> --- I couldn't find a way of giving the compiler more information about the valid pointer ranges, so I'm not going to try to remove the #pragma suppressions around std::char_traits.