https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108015
Bug ID: 108015
Summary: [13 Regression]
17_intro/headers/c++2011/stdc++_multiple_inclusion.cc
failure on i686-linux
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
Target Milestone: ---
I'm seeing
FAIL: 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc (test for excess
errors)
Excess errors:
/home/jakub/src/gcc/obj45/i686-pc-linux-gnu/libstdc++-v3/include/chrono:2436:
warning: missing terminating ' character
This is about
&& (ratio_greater_equal_v<_Period, ratio<1, 4'000'000'000>>
line, which is surely in a section guarded with
#if __cplusplus >= 202002L
...
#endif
This boils down to:
#if __cplusplus >= 202002L
int a = 4'000'000'000;
#endif
int b = 42;
which also warns when preprocessed or compiled with -std=c++11, the
preprocessor
tokenizes even skipped tokens.