diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-11-17 15:26:29 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-11-17 16:13:14 +0000 |
commit | ecf65330c11544ebf35e198087b4a42be089c620 (patch) | |
tree | 1e03fe11473e513d9a7d8429367a75f20bdc1e8d /libcpp/include | |
parent | 1f8ac759918729e9402c3154c8e5110bfd4c6459 (diff) | |
download | gcc-ecf65330c11544ebf35e198087b4a42be089c620.zip gcc-ecf65330c11544ebf35e198087b4a42be089c620.tar.gz gcc-ecf65330c11544ebf35e198087b4a42be089c620.tar.bz2 |
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.
Diffstat (limited to 'libcpp/include')
0 files changed, 0 insertions, 0 deletions