diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-12-16 13:37:17 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-12-16 13:37:17 +0000 |
commit | ab9bd93271061f436c10e35e261ecb73e2108ccc (patch) | |
tree | 6eda8ac1efa32a71701386abb149f9f133976e30 /gcc/fortran/resolve.c | |
parent | 3cee0c6562e5d8df69a9d6ad613a6f3edcfcc797 (diff) | |
download | gcc-ab9bd93271061f436c10e35e261ecb73e2108ccc.zip gcc-ab9bd93271061f436c10e35e261ecb73e2108ccc.tar.gz gcc-ab9bd93271061f436c10e35e261ecb73e2108ccc.tar.bz2 |
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.
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions