aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-02-08 15:38:35 +0000
committerJonathan Wakely <jwakely@redhat.com>2024-02-08 15:58:14 +0000
commit5fb204aaf34b68c427f5b2bfb933fed72fe3eafb (patch)
tree5d21eb7da31674ce6d49c57e24d2b040ef1bd46e /gcc
parentd9459129ea8f8c3cbd6150b90e842decba7952a3 (diff)
downloadgcc-5fb204aaf34b68c427f5b2bfb933fed72fe3eafb.zip
gcc-5fb204aaf34b68c427f5b2bfb933fed72fe3eafb.tar.gz
gcc-5fb204aaf34b68c427f5b2bfb933fed72fe3eafb.tar.bz2
libstdc++: Guard tr2::bases and tr2::direct_bases with __has_builtin
These non-standard extensions use GCC-specific built-ins. Use __has_builtin to avoid errors when Clang compiles this header. See https://github.com/llvm/llvm-project/issues/24289 libstdc++-v3/ChangeLog: * include/tr2/type_traits (bases, direct_bases): Use __has_builtin to check if required built-ins are supported.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions