public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/99413] New: internal library headers are not header-unit ready
@ 2021-03-05 15:13 nathan at gcc dot gnu.org
  2021-03-05 15:48 ` [Bug libstdc++/99413] " redi at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: nathan at gcc dot gnu.org @ 2021-03-05 15:13 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99413
           Summary: internal library headers are not header-unit ready
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nathan at gcc dot gnu.org
  Target Milestone: ---

We're attempting to build the std library as a bunch of header-units.  The
include graph partitioner naturally discovers that internal headers from bits/
are included everywhere, and should therefore be header-units themselves.  But
several (many?, most?) are not stand alone, and expect their includer to have
included some necessary definitions.

The ones we've hit so far are[*]

bits/predefined_ops.h:153:9: error: '_GLIBCXX14_CONSTEXPR' does not name a type

bits/functional_hash.h:71:31: error: '__void_t' was not declared in this scope

bits/range_access.h:179:33: error: 'reverse_iterator' does not name a type

[*] for reasons we're stuck with gcc-9 era libstdc++.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-11 13:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-05 15:13 [Bug libstdc++/99413] New: internal library headers are not header-unit ready nathan at gcc dot gnu.org
2021-03-05 15:48 ` [Bug libstdc++/99413] " redi at gcc dot gnu.org
2021-03-05 16:00 ` nathan at gcc dot gnu.org
2021-03-10 15:28 ` cvs-commit at gcc dot gnu.org
2021-03-11 13:15 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).