aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-06-12 16:47:17 +0100
committerJonathan Wakely <jwakely@redhat.com>2024-06-13 14:08:36 +0100
commit99a1fe6c12c733fe4923a75a79d09a66ff8abcec (patch)
tree0ee7ce757cf8fb11ac41be0fa4822bd8d35580e0 /gcc
parent3060e9230264d60be349414285c361b7d32f233c (diff)
downloadgcc-99a1fe6c12c733fe4923a75a79d09a66ff8abcec.zip
gcc-99a1fe6c12c733fe4923a75a79d09a66ff8abcec.tar.gz
gcc-99a1fe6c12c733fe4923a75a79d09a66ff8abcec.tar.bz2
libstdc++: Fix unwanted #pragma messages from PSTL headers [PR113376]
When we rebased the PSTL on upstream, in r14-2109-g3162ca09dbdc2e, a change to how _PSTL_USAGE_WARNINGS is set was missed out, but the change to how it's tested was included. This means that the macro is always defined, so testing it with #ifdef (instead of using #if to test its value) doesn't work as intended. Revert the test to use #if again, since that part of the upstream change was unnecessary in the first place (the macro is always defined, so there's no need to use #ifdef to avoid -Wundef warnings). libstdc++-v3/ChangeLog: PR libstdc++/113376 * include/pstl/pstl_config.h: Use #if instead of #ifdef to test the _PSTL_USAGE_WARNINGS macro.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions