https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91227
--- Comment #14 from Marc Glisse <glisse at gcc dot gnu.org> --- (In reply to Florian Weimer from comment #13) > I don't see why I cast should magically fix this issue, In libstdc++, std::less<T*> does such a cast, there were discussions about it at that time.