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

--- Comment #1 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:ab9bd93271061f436c10e35e261ecb73e2108ccc

commit r11-6139-gab9bd93271061f436c10e35e261ecb73e2108ccc
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.

Reply via email to