public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/98967] New: warning to spot recursive include graph
@ 2021-02-04 14:01 nathan at gcc dot gnu.org
  2021-02-04 14:40 ` [Bug c++/98967] " 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-02-04 14:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98967
           Summary: warning to spot recursive include graph
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nathan at gcc dot gnu.org
  Target Milestone: ---

recursive headers can slip in unnoticed (eg the new<...>exception loop found in
2020).  Often these are harmless, but with c++20 header-units they can be
fatal.  They are hard to locate, as absent modules they could be harmless.

Add a warning to spot them in the preprocessor.

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

end of thread, other threads:[~2021-05-04 12:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04 14:01 [Bug c++/98967] New: warning to spot recursive include graph nathan at gcc dot gnu.org
2021-02-04 14:40 ` [Bug c++/98967] " redi at gcc dot gnu.org
2021-02-05  9:45 ` egallager at gcc dot gnu.org
2021-02-19 14:57 ` nathan at gcc dot gnu.org
2021-05-04 12:32 ` rguenth 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).