public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/100285] experimental/net/socket/socket_base.cc fails on arm-eabi (r12-137)
Date: Tue, 27 Apr 2021 13:09:53 +0000	[thread overview]
Message-ID: <bug-100285-4-BASmsx8Ocb@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-100285-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:

https://gcc.gnu.org/g:8aadb4fedb17e7a44583a7a5a4e96b1874e1ce98

commit r12-152-g8aadb4fedb17e7a44583a7a5a4e96b1874e1ce98
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue Apr 27 11:07:47 2021 +0100

    libstdc++: Define net::socket_base::message_flags operators as friends [PR
100285]

    The overloaded operators for socket_base::message_flags should only be
    defined when the message_flags type itself is defined. Rather than
    duplicate the preprocessor conditional, this moves the operators into
    the same scope as the type, defining them as hidden friends.

    As well as fixing the bug, this has all the usual advantages of hidden
    friends (they are not visible to normal name lookup for unrelated
    types).

    For consistency, do the same for the resolver_base::flags bitmask
    operators too.

    libstdc++-v3/ChangeLog:

            PR libstdc++/100285
            * include/experimental/internet (resolver_base::flags):
            Define overloaded operators as hidden friends.
            * include/experimental/socket (socket_base::message_flags):
            Likewise.

  reply	other threads:[~2021-04-27 13:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-27  9:53 [Bug libstdc++/100285] New: " clyon at gcc dot gnu.org
2021-04-27 13:09 ` cvs-commit at gcc dot gnu.org [this message]
2021-04-27 13:11 ` [Bug libstdc++/100285] " redi at gcc dot gnu.org
2021-04-30 12:23 ` clyon at gcc dot gnu.org
2021-04-30 13:47 ` cvs-commit at gcc dot gnu.org
2021-08-24 14:21 ` redi at gcc dot gnu.org
2021-08-24 16:00 ` cvs-commit at gcc dot gnu.org
2021-08-24 16:01 ` cvs-commit at gcc dot gnu.org
2021-08-25 16:20 ` clyon at gcc dot gnu.org
2021-08-26 11:44 ` cvs-commit at gcc dot gnu.org
2021-08-26 11:46 ` redi at gcc dot gnu.org
2021-10-12 19:41 ` cvs-commit at gcc dot gnu.org
2021-10-12 20:09 ` redi at gcc dot gnu.org
2021-10-13  8:17 ` clyon at gcc dot gnu.org
2023-06-09 12:18 ` cvs-commit at gcc dot gnu.org
2023-06-09 12:19 ` redi at gcc dot gnu.org
2023-06-29 23:01 ` cvs-commit at gcc dot gnu.org
2024-03-15 14:36 ` redi at gcc dot gnu.org

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=bug-100285-4-BASmsx8Ocb@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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: 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).