public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99327] New: ENOTSUP macro does not exist on djgpp crt
@ 2021-03-01 17:13 unlvsur at live dot com
  2021-03-01 17:14 ` [Bug libstdc++/99327] " unlvsur at live dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: unlvsur at live dot com @ 2021-03-01 17:13 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99327
           Summary: ENOTSUP macro does not exist on djgpp crt
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

libstdc++'s filesystem uses std::errc::not_supported but that does not exist on
djgpp. Bootstrap failure


What I did was just

#define ENOTSUP 42

in errno.h and bootstrap succeed
However, strerror will not work for this anymore.


There is another solution for this.

Replace all std::errc::not_supported to std::errc::invalid_argument since
EINVAL should exist on all platforms.

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

end of thread, other threads:[~2023-10-04 11:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-01 17:13 [Bug c++/99327] New: ENOTSUP macro does not exist on djgpp crt unlvsur at live dot com
2021-03-01 17:14 ` [Bug libstdc++/99327] " unlvsur at live dot com
2021-03-01 17:35 ` redi at gcc dot gnu.org
2021-05-12  9:49 ` redi at gcc dot gnu.org
2021-10-01 19:39 ` cvs-commit at gcc dot gnu.org
2021-10-01 19:54 ` redi at gcc dot gnu.org
2021-10-01 19:54 ` redi at gcc dot gnu.org
2021-10-02 10:32 ` m.cencora at gmail dot com
2021-10-02 14:21 ` redi at gcc dot gnu.org
2021-10-02 20:30 ` redi at gcc dot gnu.org
2023-10-04 11:28 ` cvs-commit at gcc dot gnu.org
2023-10-04 11:30 ` 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).