From: Jonathan Wakely Date: Tue, 15 Apr 2025 13:00:23 +0000 (+0100) Subject: libstdc++: Do not define __cpp_lib_ranges_iota in X-Git-Tag: releases/gcc-14.3.0~172 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a9f20ed39167782dd2d75f8739d994cc5d05b80;p=thirdparty%2Fgcc.git libstdc++: Do not define __cpp_lib_ranges_iota in In r14-7153-gadbc46942aee75 we removed a duplicate definition of __glibcxx_want_range_iota from , but __cpp_lib_ranges_iota should be defined in at all. libstdc++-v3/ChangeLog: * include/std/ranges (__glibcxx_want_ranges_iota): Do not define. (cherry picked from commit 25775e73ea4d40a55a26b71c42cc6509caf4845f) --- diff --git a/libstdc++-v3/include/std/ranges b/libstdc++-v3/include/std/ranges index fdfecf3527f..374a16b3fb6 100644 --- a/libstdc++-v3/include/std/ranges +++ b/libstdc++-v3/include/std/ranges @@ -59,7 +59,6 @@ #define __glibcxx_want_ranges_chunk #define __glibcxx_want_ranges_chunk_by #define __glibcxx_want_ranges_enumerate -#define __glibcxx_want_ranges_iota #define __glibcxx_want_ranges_join_with #define __glibcxx_want_ranges_repeat #define __glibcxx_want_ranges_slide