public inbox for libstdc++-cvs@sourceware.org help / color / mirror / Atom feed
From: Jonathan Wakely <redi@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r10-11460] libstdc++: Fix build error in <bits/regex_error.h> Date: Fri, 23 Jun 2023 16:12:21 +0000 (GMT) [thread overview] Message-ID: <20230623161221.EA4B53858031@sourceware.org> (raw) https://gcc.gnu.org/g:61dc491950863d0b441ddd3f9d609b83a01deaf7 commit r10-11460-g61dc491950863d0b441ddd3f9d609b83a01deaf7 Author: Jonathan Wakely <jwakely@redhat.com> Date: Fri Sep 11 14:51:36 2020 +0100 libstdc++: Fix build error in <bits/regex_error.h> libstdc++-v3/ChangeLog: * include/bits/regex_error.h (__throw_regex_error): Fix parameter declaration and use reserved attribute names. (cherry picked from commit 29216f56d002982f10c33056f4b3d7f07e164122) Diff: --- libstdc++-v3/include/bits/regex_error.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/include/bits/regex_error.h b/libstdc++-v3/include/bits/regex_error.h index a5b553862ce..b40351a39cc 100644 --- a/libstdc++-v3/include/bits/regex_error.h +++ b/libstdc++-v3/include/bits/regex_error.h @@ -167,8 +167,9 @@ namespace regex_constants __throw_regex_error(regex_constants::error_type __ecode); inline void - __throw_regex_error(regex_constants::error_type __ecode __attribute__((unused)), - const char* __what__attribute__((unused))) + __throw_regex_error(regex_constants::error_type __ecode + __attribute__((__unused__)), + const char* __what __attribute__((__unused__))) { _GLIBCXX_THROW_OR_ABORT(regex_error(__ecode, __what)); } _GLIBCXX_END_NAMESPACE_VERSION
reply other threads:[~2023-06-23 16:12 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20230623161221.EA4B53858031@sourceware.org \ --to=redi@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ --cc=libstdc++-cvs@gcc.gnu.org \ /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: linkBe 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).