public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/104866] New: this_thread_sleep.h doesn't compile if _GLIBCXX_NO_SLEEP is defined
@ 2022-03-10 15:11 dv at vollmann dot ch
  2022-03-10 16:19 ` [Bug libstdc++/104866] " redi at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: dv at vollmann dot ch @ 2022-03-10 15:11 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104866
           Summary: this_thread_sleep.h doesn't compile if
                    _GLIBCXX_NO_SLEEP is defined
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dv at vollmann dot ch
                CC: dv at vollmann dot ch
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: avr
             Build: x86_64-linux-gnu

Created attachment 52596
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52596&action=edit
Patch to fix the problem

this_thread_sleep.h opens the namespace std::this_thread before checking for
the define but then closes it inside the #ifndef

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

end of thread, other threads:[~2023-02-02 18:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-10 15:11 [Bug libstdc++/104866] New: this_thread_sleep.h doesn't compile if _GLIBCXX_NO_SLEEP is defined dv at vollmann dot ch
2022-03-10 16:19 ` [Bug libstdc++/104866] " redi at gcc dot gnu.org
2022-03-10 17:35 ` [Bug libstdc++/104866] [12 Regression] " redi at gcc dot gnu.org
2022-03-10 21:05 ` cvs-commit at gcc dot gnu.org
2022-03-10 21:11 ` redi at gcc dot gnu.org
2022-03-11 14:21 ` dv at vollmann dot ch
2023-02-02 18:14 ` cvs-commit at gcc dot gnu.org
2023-02-02 18:22 ` 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).