https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99413
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2021-03-05 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- There are *many* such problems e.g. /home/jwakely/gcc/11/include/c++/11.0.1/bits/stl_set.h:92:52: error: 'less' in namespace 'std' does not name a template type 92 | template<typename _Key, typename _Compare = std::less<_Key>, | ^~~~ But in most cases the header is only included from exactly one place (in this case, from <set>). Will they not be selected to be header units by your selection criteria, and so can be ignored (at least for now)? None of the bits/foo.tcc files are ever intended to be included from anywhere except at the end of the corresponding bits/foo.h header. Do those ones need to be fixed? Again, they are included in exactly one place (explicitly by design here, rather than just how the library is arranged).