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

--- Comment #16 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Jonathan Wakely
<r...@gcc.gnu.org>:

https://gcc.gnu.org/g:132015b9c6c9f9156ff31f7d66ba92cf01d0bc90

commit r13-7508-g132015b9c6c9f9156ff31f7d66ba92cf01d0bc90
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Fri Jun 9 12:15:21 2023 +0100

    libstdc++: Add preprocessor checks to <experimental/internet> [PR100285]

    We can't define endpoints and resolvers without the relevant OS support.
    If IPPROTO_TCP and IPPROTO_UDP are both undefined then we won't need
    basic_endpoint and basic_resolver anyway, so make them depend on those
    macros.

    libstdc++-v3/ChangeLog:

            PR libstdc++/100285
            * include/experimental/internet [IPPROTO_TCP || IPPROTO_UDP]
            (basic_endpoint, basic_resolver_entry, resolver_base)
            (basic_resolver_results, basic_resolver): Only define if the tcp
            or udp protocols will be defined.

    (cherry picked from commit 793ed718b522b15e2d758eca953feeec1979fe2c)

Reply via email to