From: David Edelsohn <dje.gcc@gmail.com>
To: Jason Merrill <jason@redhat.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH RFC] c++: implement P1492 contracts
Date: Mon, 21 Nov 2022 08:53:31 -0500 [thread overview]
Message-ID: <CAGWvnynvpbqRAXaEAqNosBEYmQ5k8ZQY_p0a57j8vUw7Uvv7GQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 451 bytes --]
This patch broke bootstrap on AIX due to its use of strchrnul(). It is an
extension available in Linux, but not all targets.
/src/src/gcc/cp/contracts.cc:213:21: error: 'strchrnul' was not declared in
this scope; did you mean 'strchr'?
213 | size_t role_len = strchrnul (role, ':') - role;
| ^~~~~~~~~
| strchr
Would you please avoid the extension or provide an implementation?
Thanks David
next reply other threads:[~2022-11-21 13:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-21 13:53 David Edelsohn [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-11-04 14:40 Jason Merrill
2022-11-19 2:45 ` Jason Merrill
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGWvnynvpbqRAXaEAqNosBEYmQ5k8ZQY_p0a57j8vUw7Uvv7GQ@mail.gmail.com \
--to=dje.gcc@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=jason@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).