aboutsummaryrefslogtreecommitdiff
path: root/gcc/real.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-10-01 14:06:42 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-10-01 15:04:03 +0100
commit17374dab3eefd282977ad90743c9aff97f2e41ce (patch)
treec2955fe3f1ba3e0ca7703dbda87e9f4e036fd3a6 /gcc/real.c
parent94311bf34704ebecf745043fe2df03df201052fe (diff)
downloadgcc-17374dab3eefd282977ad90743c9aff97f2e41ce.zip
gcc-17374dab3eefd282977ad90743c9aff97f2e41ce.tar.gz
gcc-17374dab3eefd282977ad90743c9aff97f2e41ce.tar.bz2
libstdc++: Define basic_regex::multiline for non-strict modes
The regex_constants::multiline constant is defined for non-strict C++11 and C++14 modes, on the basis that the feature is a DR (even though it was really a new feature addition to C++17 and probably shouldn't have gone through the issues list). This makes the basic_regex::multiline constant defined consistently with the regex_constants::multiline one. For strict C++11 and C++14 mode we don't define them, because multiline is not a reserved name in those standards. libstdc++-v3/ChangeLog: * include/bits/regex.h (basic_regex::multiline): Define for non-strict C++11 and C++14 modes. * include/bits/regex_constants.h (regex_constants::multiline): Add _GLIBCXX_RESOLVE_LIB_DEFECTS comment.
Diffstat (limited to 'gcc/real.c')
0 files changed, 0 insertions, 0 deletions