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

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

https://gcc.gnu.org/g:564e5b6ce002608f461d4275c126d8179ef806c6

commit r10-9578-g564e5b6ce002608f461d4275c126d8179ef806c6
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Wed Dec 16 13:37:17 2020 +0000

    libstdc++: Fix errors from Library Fundamentals TS headers in C++11 [PR
98319]

    Currently the <experimental/random>, <experimental/source_location> and
    <experimental/utility> headers can be included in C++98 and C++11 modes,
    but gives errors. With this change they can be included, but define
    nothing.

    libstdc++-v3/ChangeLog:

            PR libstdc++/98319
            * include/experimental/random: Only define contents for C++14
            and later.
            * include/experimental/source_location: Likewise.
            * include/experimental/utility: Likewise.
            * testsuite/experimental/feat-lib-fund.cc: Include all LFTS
            headers that are present. Allow test to run for all modes.

    (cherry picked from commit ab9bd93271061f436c10e35e261ecb73e2108ccc)

Reply via email to