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

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

https://gcc.gnu.org/g:ecf65330c11544ebf35e198087b4a42be089c620

commit r11-5099-gecf65330c11544ebf35e198087b4a42be089c620
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Tue Nov 17 15:26:29 2020 +0000

    libstdc++: Fix unconditional definition of __cpp_lib_span in <version> [PR
97869}

    The <span> header is empty unless Concepts are supported, but <version>
    defines the __cpp_lib_span feature test macro unconditionally. It should
    be guarded by the same conditions as in <span>.

    libstdc++-v3/ChangeLog:

            PR libstdc++/97869
            * include/precompiled/stdc++.h: Include <coroutine>.
            * include/std/version (__cpp_lib_span): Check __cpp_lib_concepts
            before defining.

Reply via email to