diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-10-01 10:43:43 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-10-02 11:29:11 +0100 |
commit | 05b7ab86e7d70e6f71a3012b08f5704b056a69fe (patch) | |
tree | ebc852b0d9acce5719601ad36346595eed96daf9 /gcc | |
parent | 79ea0aab75732c26c38d4b64f1d97acedf80155a (diff) | |
download | gcc-05b7ab86e7d70e6f71a3012b08f5704b056a69fe.zip gcc-05b7ab86e7d70e6f71a3012b08f5704b056a69fe.tar.gz gcc-05b7ab86e7d70e6f71a3012b08f5704b056a69fe.tar.bz2 |
libstdc++: Fix -Wlong-long warning in <bits/postypes.h>
For 32-bit targets __INT64_TYPE__ expands to long long, which gives a
pedwarn for C++98 mode, causing:
FAIL: 17_intro/headers/c++1998/all_pedantic_errors.cc -std=gnu++98 (test for excess errors)
Excess errors:
.../bits/postypes.h:64: error: ISO C++ 1998 does not support 'long long' [-Wlong-long]
libstdc++-v3/ChangeLog:
* include/bits/postypes.h: Fix -Wlong-long warning.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions