From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EC7E4386EC70; Fri, 5 Mar 2021 15:48:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EC7E4386EC70 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/99413] internal library headers are not header-unit ready Date: Fri, 05 Mar 2021 15:48:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2021 15:48:30 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99413 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2021-03-05 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely --- 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, | ^~~~ But in most cases the header is only included from exactly one place (in th= is case, from ). 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 anywhe= re except at the end of the corresponding bits/foo.h header. Do those ones nee= d to be fixed? Again, they are included in exactly one place (explicitly by desi= gn here, rather than just how the library is arranged).=