* installing *source* package ‘s2’ ...
** this is package ‘s2’ version ‘1.1.9’
** package ‘s2’ successfully unpacked and MD5 sums checked
** using staged installation
Found OpenSSL pkg-config cflags and libs!
Testing compiler OpenSSL configuration using PKG_CFLAGS=
** Using PKG_CONFIG_PATH=/usr/local/clang/lib64/pkgconfig:/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig:/data/gannet/ripley/R/packages/tests-clang/s2/tools/pkgconfig
** Using abseil-cpp from pkg-config
Testing Abseil configuration using PKG_CFLAGS=-I/usr/local/clang/include
Using PKG_LIBS=-L/usr/local/clang/lib64 -labsl_flags_internal -labsl_flags_marshalling -labsl_flags_reflection -labsl_flags_private_handle_accessor -labsl_flags_commandlineflag -labsl_flags_commandlineflag_internal -labsl_flags_config -labsl_flags_program_name -labsl_raw_hash_set -labsl_hashtablez_sampler -labsl_log_internal_check_op -labsl_log_internal_conditions -labsl_log_internal_message -labsl_examine_stack -labsl_log_internal_format -labsl_log_internal_nullguard -labsl_log_internal_structured_proto -labsl_log_internal_proto -labsl_log_internal_log_sink_set -labsl_log_internal_globals -labsl_log_globals -labsl_hash -labsl_city -labsl_bad_variant_access -labsl_low_level_hash -labsl_vlog_config_internal -labsl_log_internal_fnmatch -labsl_log_sink -labsl_log_entry -labsl_status -labsl_cord -labsl_cordz_info -labsl_cord_internal -labsl_cordz_functions -labsl_exponential_biased -labsl_cordz_handle -labsl_synchronization -labsl_graphcycles_internal -labsl_kernel_timeout_internal -labsl_tracing_internal -labsl_time -labsl_civil_time -labsl_time_zone -labsl_crc_cord_state -labsl_crc32c -labsl_crc_internal -labsl_crc_cpu_detect -labsl_leak_check -labsl_bad_optional_access -labsl_stacktrace -labsl_str_format_internal -labsl_strerror -labsl_symbolize -labsl_debugging_internal -labsl_demangle_internal -labsl_demangle_rust -labsl_decode_rust_punycode -labsl_utf8_for_code_point -labsl_malloc_internal -labsl_strings -labsl_strings_internal -labsl_string_view -labsl_base -lrt -labsl_spinlock_wait -labsl_int128 -labsl_throw_delegate -labsl_raw_logging_internal -labsl_log_severity -lssl -lcrypto
Using PKG_CFLAGS=-I/usr/local/clang/include
** libs
specified C++17
using C compiler: ‘clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)’
using C++ compiler: ‘clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)’
using C++17
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/s2/src'
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c cpp-compat.cpp -o cpp-compat.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2-accessors.cpp -o s2-accessors.o
In file included from s2-accessors.cpp:2:
In file included from ./geography-operator.h:7:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2-accessors.cpp:2:
In file included from ./geography-operator.h:7:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2-accessors.cpp:2:
In file included from ./geography-operator.h:7:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:28:
In file included from ../src/s2/util/coding/coder.h:33:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2-accessors.cpp:2:
In file included from ./geography-operator.h:7:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:30:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2-accessors.cpp:2:
In file included from ./geography-operator.h:7:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:30:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2-accessors.cpp:2:
In file included from ./geography-operator.h:7:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2-accessors.cpp:2:
In file included from ./geography-operator.h:7:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-accessors.cpp:2:
In file included from ./geography-operator.h:7:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-accessors.cpp:2:
In file included from ./geography-operator.h:7:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-accessors.cpp:2:
In file included from ./geography-operator.h:7:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-accessors.cpp:2:
In file included from ./geography-operator.h:7:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-accessors.cpp:2:
In file included from ./geography-operator.h:7:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
18 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2-bounds.cpp -o s2-bounds.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2-cell.cpp -o s2-cell.o
In file included from s2-bounds.cpp:2:
In file included from ./s2/s2latlng_rect.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2-bounds.cpp:2:
In file included from ./s2/s2latlng_rect.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2-bounds.cpp:2:
In file included from ./s2/s2latlng_rect.h:27:
In file included from ../src/s2/util/coding/coder.h:33:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2-cell.cpp:8:
In file included from ./s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2-cell.cpp:8:
In file included from ./s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2-cell.cpp:8:
In file included from ./s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2-bounds.cpp:2:
In file included from ./s2/s2latlng_rect.h:30:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2-bounds.cpp:2:
In file included from ./s2/s2latlng_rect.h:30:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2-bounds.cpp:2:
In file included from ./s2/s2latlng_rect.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2-cell.cpp:8:
In file included from ./s2/s2cell_id.h:43:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2-cell.cpp:8:
In file included from ./s2/s2cell_id.h:43:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2-cell.cpp:8:
In file included from ./s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2-bounds.cpp:5:
In file included from ./s2-options.h:7:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-bounds.cpp:5:
In file included from ./s2-options.h:7:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-bounds.cpp:5:
In file included from ./s2-options.h:7:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-bounds.cpp:5:
In file included from ./s2-options.h:7:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-bounds.cpp:5:
In file included from ./s2-options.h:7:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-cell.cpp:12:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-cell.cpp:12:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-cell.cpp:12:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-cell.cpp:12:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-cell.cpp:12:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-bounds.cpp:2:
In file included from ./s2/s2latlng_rect.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2-cell.cpp:8:
In file included from ./s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
18 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2-cell-union.cpp -o s2-cell-union.o
In file included from s2-cell-union.cpp:2:
In file included from ./s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2-cell-union.cpp:2:
In file included from ./s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2-cell-union.cpp:2:
In file included from ./s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
18 warnings generated.
In file included from s2-cell-union.cpp:2:
In file included from ./s2/s2cell_id.h:43:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2-cell-union.cpp:2:
In file included from ./s2/s2cell_id.h:43:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2-cell-union.cpp:2:
In file included from ./s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2-cell-union.cpp:7:
In file included from ./s2/s2shape_index_buffered_region.h:29:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-cell-union.cpp:7:
In file included from ./s2/s2shape_index_buffered_region.h:29:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-cell-union.cpp:7:
In file included from ./s2/s2shape_index_buffered_region.h:29:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-cell-union.cpp:7:
In file included from ./s2/s2shape_index_buffered_region.h:29:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-cell-union.cpp:7:
In file included from ./s2/s2shape_index_buffered_region.h:29:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-cell-union.cpp:2:
In file included from ./s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<const S2ShapeIndexCell *>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<const S2ShapeIndexCell *>, std::is_same<std::allocator<const S2ShapeIndexCell *>, std::allocator<const S2ShapeIndexCell *>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<const S2ShapeIndexCell *, 6, std::allocator<const S2ShapeIndexCell *>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
../src/s2/s2closest_edge_query_base.h:319:51: note: in instantiation of template class 'absl::InlinedVector<const S2ShapeIndexCell *, 6>' requested here
319 | absl::InlinedVector<const S2ShapeIndexCell*, 6> index_cells_;
| ^
In file included from s2-cell-union.cpp:2:
In file included from ./s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::is_same<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_edge_query_base.h:404:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
404 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/s2/s2closest_edge_query.h:136:18: note: in instantiation of template class 'S2ClosestEdgeQueryBase<S2MinDistance>' requested here
136 | using Result = Base::Result;
| ^
In file included from s2-cell-union.cpp:2:
In file included from ./s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2-cell-union.cpp:2:
In file included from ./s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<s2shapeutil::ShapeEdgeId>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3712:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize_impl' requested here
3712 | raw_hash_set::resize_impl(common(), new_capacity, HashtablezInfoHandle{});
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:2664:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize' requested here
2664 | resize(NormalizeCapacity(bucket_count));
| ^
../src/s2/s2closest_edge_query_base.h:481:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::raw_hash_set' requested here
481 | : tested_edges_(/*bucket_count=*/1) {}
| ^
../src/s2/s2closest_edge_query.h:375:28: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::S2ClosestEdgeQueryBase' requested here
375 | inline S2ClosestEdgeQuery::S2ClosestEdgeQuery(const S2ShapeIndex* index,
| ^
In file included from s2-cell-union.cpp:2:
In file included from ./s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<int>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<int>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<int>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<int>>::transfer<std::allocator<int>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::internal_emplace<int>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:334:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::insert_unique<int, int>' requested here
334 | return this->tree_.insert_unique(params_type::key(v), std::move(v));
| ^
../src/s2/s2closest_edge_query_base.h:578:21: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>>::insert' requested here
578 | shape_ids.insert(containing_shape->id());
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
In file included from s2-cell-union.cpp:2:
In file included from ./s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::Result>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>::transfer<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:330:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::insert_unique<S2ClosestEdgeQueryBase<S2MinDistance>::Result, const S2ClosestEdgeQueryBase<S2MinDistance>::Result &>' requested here
330 | return this->tree_.insert_unique(params_type::key(v), v);
| ^
../src/s2/s2closest_edge_query_base.h:872:17: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>>::insert' requested here
872 | result_set_.insert(result);
| ^
../src/s2/s2closest_edge_query_base.h:582:7: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::AddResult' requested here
582 | AddResult(Result(Distance::Zero(), shape_id, -1));
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
23 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2-constructors-formatters.cpp -o s2-constructors-formatters.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2-predicates.cpp -o s2-predicates.o
In file included from s2-constructors-formatters.cpp:6:
In file included from ./s2/s2pointutil.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2-predicates.cpp:2:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2-predicates.cpp:2:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2-constructors-formatters.cpp:6:
In file included from ./s2/s2pointutil.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2-constructors-formatters.cpp:6:
In file included from ./s2/s2pointutil.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2-predicates.cpp:2:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:56:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2-predicates.cpp:2:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2-predicates.cpp:2:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2-predicates.cpp:2:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2-constructors-formatters.cpp:6:
In file included from ./s2/s2pointutil.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2-constructors-formatters.cpp:6:
In file included from ./s2/s2pointutil.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2-constructors-formatters.cpp:6:
In file included from ./s2/s2pointutil.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2-constructors-formatters.cpp:9:
In file included from ./geography.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:29:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/check_r_headers.h:27:13: warning: R.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410 [-W#pragma-messages]
27 | #pragma message "R.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410"
| ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/check_r_headers.h:35:13: warning: Rinternals.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410 [-W#pragma-messages]
35 | #pragma message "Rinternals.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410"
| ^
In file included from s2-predicates.cpp:2:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-predicates.cpp:2:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-predicates.cpp:2:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-predicates.cpp:2:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-predicates.cpp:2:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-predicates.cpp:2:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<const S2ShapeIndexCell *>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<const S2ShapeIndexCell *>, std::is_same<std::allocator<const S2ShapeIndexCell *>, std::allocator<const S2ShapeIndexCell *>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<const S2ShapeIndexCell *, 6, std::allocator<const S2ShapeIndexCell *>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
../src/s2/s2closest_edge_query_base.h:319:51: note: in instantiation of template class 'absl::InlinedVector<const S2ShapeIndexCell *, 6>' requested here
319 | absl::InlinedVector<const S2ShapeIndexCell*, 6> index_cells_;
| ^
In file included from s2-predicates.cpp:2:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::is_same<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_edge_query_base.h:404:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
404 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./s2/s2closest_edge_query.h:136:18: note: in instantiation of template class 'S2ClosestEdgeQueryBase<S2MinDistance>' requested here
136 | using Result = Base::Result;
| ^
In file included from s2-constructors-formatters.cpp:9:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-constructors-formatters.cpp:9:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-constructors-formatters.cpp:9:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-constructors-formatters.cpp:9:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-constructors-formatters.cpp:9:
In file included from ./geography.h:7:
In file included from ./s2geography.h:4:
In file included from ./s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-constructors-formatters.cpp:6:
In file included from ./s2/s2pointutil.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2-predicates.cpp:2:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2-predicates.cpp:2:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<s2shapeutil::ShapeEdgeId>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3712:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize_impl' requested here
3712 | raw_hash_set::resize_impl(common(), new_capacity, HashtablezInfoHandle{});
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:2664:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize' requested here
2664 | resize(NormalizeCapacity(bucket_count));
| ^
../src/s2/s2closest_edge_query_base.h:481:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::raw_hash_set' requested here
481 | : tested_edges_(/*bucket_count=*/1) {}
| ^
./s2/s2closest_edge_query.h:375:28: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::S2ClosestEdgeQueryBase' requested here
375 | inline S2ClosestEdgeQuery::S2ClosestEdgeQuery(const S2ShapeIndex* index,
| ^
In file included from s2-predicates.cpp:2:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<int>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<int>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<int>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<int>>::transfer<std::allocator<int>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::internal_emplace<int>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:334:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::insert_unique<int, int>' requested here
334 | return this->tree_.insert_unique(params_type::key(v), std::move(v));
| ^
../src/s2/s2closest_edge_query_base.h:578:21: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>>::insert' requested here
578 | shape_ids.insert(containing_shape->id());
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
./s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
In file included from s2-predicates.cpp:2:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::Result>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>::transfer<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:330:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::insert_unique<S2ClosestEdgeQueryBase<S2MinDistance>::Result, const S2ClosestEdgeQueryBase<S2MinDistance>::Result &>' requested here
330 | return this->tree_.insert_unique(params_type::key(v), v);
| ^
../src/s2/s2closest_edge_query_base.h:872:17: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>>::insert' requested here
872 | result_set_.insert(result);
| ^
../src/s2/s2closest_edge_query_base.h:582:7: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::AddResult' requested here
582 | AddResult(Result(Distance::Zero(), shape_id, -1));
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
./s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2-transformers.cpp -o s2-transformers.o
20 warnings generated.
In file included from s2-transformers.cpp:2:
In file included from ./s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2-transformers.cpp:2:
In file included from ./s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2-transformers.cpp:2:
In file included from ./s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
23 warnings generated.
In file included from s2-transformers.cpp:2:
In file included from ./s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2-transformers.cpp:2:
In file included from ./s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2-transformers.cpp:2:
In file included from ./s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2-transformers.cpp:2:
In file included from ./s2/s2shape_index_buffered_region.h:29:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-transformers.cpp:2:
In file included from ./s2/s2shape_index_buffered_region.h:29:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-transformers.cpp:2:
In file included from ./s2/s2shape_index_buffered_region.h:29:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-transformers.cpp:2:
In file included from ./s2/s2shape_index_buffered_region.h:29:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-transformers.cpp:2:
In file included from ./s2/s2shape_index_buffered_region.h:29:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-transformers.cpp:2:
In file included from ./s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<const S2ShapeIndexCell *>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<const S2ShapeIndexCell *>, std::is_same<std::allocator<const S2ShapeIndexCell *>, std::allocator<const S2ShapeIndexCell *>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<const S2ShapeIndexCell *, 6, std::allocator<const S2ShapeIndexCell *>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
../src/s2/s2closest_edge_query_base.h:319:51: note: in instantiation of template class 'absl::InlinedVector<const S2ShapeIndexCell *, 6>' requested here
319 | absl::InlinedVector<const S2ShapeIndexCell*, 6> index_cells_;
| ^
In file included from s2-transformers.cpp:2:
In file included from ./s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::is_same<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_edge_query_base.h:404:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
404 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/s2/s2closest_edge_query.h:136:18: note: in instantiation of template class 'S2ClosestEdgeQueryBase<S2MinDistance>' requested here
136 | using Result = Base::Result;
| ^
In file included from s2-transformers.cpp:2:
In file included from ./s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2-transformers.cpp:2:
In file included from ./s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<s2shapeutil::ShapeEdgeId>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3712:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize_impl' requested here
3712 | raw_hash_set::resize_impl(common(), new_capacity, HashtablezInfoHandle{});
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:2664:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize' requested here
2664 | resize(NormalizeCapacity(bucket_count));
| ^
../src/s2/s2closest_edge_query_base.h:481:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::raw_hash_set' requested here
481 | : tested_edges_(/*bucket_count=*/1) {}
| ^
../src/s2/s2closest_edge_query.h:375:28: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::S2ClosestEdgeQueryBase' requested here
375 | inline S2ClosestEdgeQuery::S2ClosestEdgeQuery(const S2ShapeIndex* index,
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c init.cpp -o init.o
In file included from s2-transformers.cpp:2:
In file included from ./s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<int>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<int>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<int>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<int>>::transfer<std::allocator<int>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::internal_emplace<int>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:334:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::insert_unique<int, int>' requested here
334 | return this->tree_.insert_unique(params_type::key(v), std::move(v));
| ^
../src/s2/s2closest_edge_query_base.h:578:21: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>>::insert' requested here
578 | shape_ids.insert(containing_shape->id());
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
In file included from s2-transformers.cpp:2:
In file included from ./s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::Result>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>::transfer<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:330:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::insert_unique<S2ClosestEdgeQueryBase<S2MinDistance>::Result, const S2ClosestEdgeQueryBase<S2MinDistance>::Result &>' requested here
330 | return this->tree_.insert_unique(params_type::key(v), v);
| ^
../src/s2/s2closest_edge_query_base.h:872:17: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>>::insert' requested here
872 | result_set_.insert(result);
| ^
../src/s2/s2closest_edge_query_base.h:582:7: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::AddResult' requested here
582 | AddResult(Result(Distance::Zero(), shape_id, -1));
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
In file included from init.cpp:2:
In file included from /usr/local/clang/include/absl/log/log.h:200:
In file included from /usr/local/clang/include/absl/log/internal/log_impl.h:18:
In file included from /usr/local/clang/include/absl/log/absl_vlog_is_on.h:63:
In file included from /usr/local/clang/include/absl/log/internal/vlog_config.h:39:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from init.cpp:2:
In file included from /usr/local/clang/include/absl/log/log.h:200:
In file included from /usr/local/clang/include/absl/log/internal/log_impl.h:18:
In file included from /usr/local/clang/include/absl/log/absl_vlog_is_on.h:63:
In file included from /usr/local/clang/include/absl/log/internal/vlog_config.h:39:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from init.cpp:3:
In file included from ./s2/s2debug.h:55:
In file included from ../src/s2/base/commandlineflags.h:21:
In file included from /usr/local/clang/include/absl/flags/flag.h:41:
In file included from /usr/local/clang/include/absl/flags/internal/flag.h:40:
In file included from /usr/local/clang/include/absl/flags/marshalling.h:203:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
23 warnings generated.
5 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c RcppExports.cpp -o RcppExports.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2-geography.cpp -o s2-geography.o
In file included from s2-geography.cpp:2:
In file included from ./s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2-geography.cpp:2:
In file included from ./s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2-geography.cpp:2:
In file included from ./s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2-geography.cpp:2:
In file included from ./s2/s2latlng.h:32:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2-geography.cpp:2:
In file included from ./s2/s2latlng.h:32:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2-geography.cpp:2:
In file included from ./s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2-geography.cpp:3:
In file included from ./s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-geography.cpp:3:
In file included from ./s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-geography.cpp:3:
In file included from ./s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-geography.cpp:3:
In file included from ./s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-geography.cpp:3:
In file included from ./s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2-lnglat.cpp -o s2-lnglat.o
In file included from s2-geography.cpp:2:
In file included from ./s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2-lnglat.cpp:2:
In file included from ./s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2-lnglat.cpp:2:
In file included from ./s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2-lnglat.cpp:2:
In file included from ./s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
18 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2-matrix.cpp -o s2-matrix.o
In file included from s2-lnglat.cpp:2:
In file included from ./s2/s2latlng.h:32:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2-lnglat.cpp:2:
In file included from ./s2/s2latlng.h:32:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2-lnglat.cpp:2:
In file included from ./s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2-matrix.cpp:6:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2-matrix.cpp:6:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2-matrix.cpp:6:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:56:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2-lnglat.cpp:2:
In file included from ./s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2-matrix.cpp:6:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2-matrix.cpp:6:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2-matrix.cpp:6:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2-matrix.cpp:6:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__built13i warningns_ generatedo.
bject_size(Obj, 0) < N, \
| ^
In file included from s2-matrix.cpp:6:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-matrix.cpp:6:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-matrix.cpp:6:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-matrix.cpp:6:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2-matrix.cpp:6:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<const S2ShapeIndexCell *>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<const S2ShapeIndexCell *>, std::is_same<std::allocator<const S2ShapeIndexCell *>, std::allocator<const S2ShapeIndexCell *>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<const S2ShapeIndexCell *, 6, std::allocator<const S2ShapeIndexCell *>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
../src/s2/s2closest_edge_query_base.h:319:51: note: in instantiation of template class 'absl::InlinedVector<const S2ShapeIndexCell *, 6>' requested here
319 | absl::InlinedVector<const S2ShapeIndexCell*, 6> index_cells_;
| ^
In file included from s2-matrix.cpp:6:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::is_same<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_edge_query_base.h:404:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
404 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./s2/s2closest_edge_query.h:136:18: note: in instantiation of template class 'S2ClosestEdgeQueryBase<S2MinDistance>' requested here
136 | using Result = Base::Result;
| ^
In file included from s2-matrix.cpp:6:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>, std::is_same<std::allocator<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>, std::allocator<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_edge_query_base.h:404:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
404 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./s2/s2furthest_edge_query.h:128:26: note: in instantiation of template class 'S2ClosestEdgeQueryBase<S2MaxDistance>' requested here
128 | class Options : public Base::Options {
| ^
In file included from s2-matrix.cpp:6:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2-matrix.cpp:6:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<s2shapeutil::ShapeEdgeId>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3712:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize_impl' requested here
3712 | raw_hash_set::resize_impl(common(), new_capacity, HashtablezInfoHandle{});
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:2664:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize' requested here
2664 | resize(NormalizeCapacity(bucket_count));
| ^
../src/s2/s2closest_edge_query_base.h:481:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::raw_hash_set' requested here
481 | : tested_edges_(/*bucket_count=*/1) {}
| ^
./s2/s2closest_edge_query.h:375:28: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::S2ClosestEdgeQueryBase' requested here
375 | inline S2ClosestEdgeQuery::S2ClosestEdgeQuery(const S2ShapeIndex* index,
| ^
In file included from s2-matrix.cpp:6:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<int>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<int>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<int>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<int>>::transfer<std::allocator<int>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::internal_emplace<int>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:334:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::insert_unique<int, int>' requested here
334 | return this->tree_.insert_unique(params_type::key(v), std::move(v));
| ^
../src/s2/s2closest_edge_query_base.h:578:21: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>>::insert' requested here
578 | shape_ids.insert(containing_shape->id());
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
./s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
In file included from s2-matrix.cpp:6:
In file included from ./s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::Result>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>::transfer<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:330:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::insert_unique<S2ClosestEdgeQueryBase<S2MinDistance>::Result, const S2ClosestEdgeQueryBase<S2MinDistance>::Result &>' requested here
330 | return this->tree_.insert_unique(params_type::key(v), v);
| ^
../src/s2/s2closest_edge_query_base.h:872:17: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>>::insert' requested here
872 | result_set_.insert(result);
| ^
../src/s2/s2closest_edge_query_base.h:582:7: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::AddResult' requested here
582 | AddResult(Result(Distance::Zero(), shape_id, -1));
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
./s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
24 warnings generated.
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c wk-impl.c -o wk-impl.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2geography/accessors-geog.cc -o s2geography/accessors-geog.o
In file included from s2geography/accessors-geog.cc:2:
In file included from s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2geography/accessors-geog.cc:2:
In file included from s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2geography/accessors-geog.cc:2:
In file included from s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:28:
In file included from ../src/s2/util/coding/coder.h:33:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2geography/accessors-geog.cc:2:
In file included from s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:30:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2geography/accessors-geog.cc:2:
In file included from s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:30:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2geography/accessors-geog.cc:2:
In file included from s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2geography/accessors-geog.cc:2:
In file included from s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/accessors-geog.cc:2:
In file included from s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/accessors-geog.cc:2:
In file included from s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/accessors-geog.cc:2:
In file included from s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/accessors-geog.cc:2:
In file included from s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/accessors-geog.cc:2:
In file included from s2geography/accessors-geog.h:4:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
18 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2geography/accessors.cc -o s2geography/accessors.o
In file included from s2geography/accessors.cc:2:
In file included from s2geography/accessors.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2geography/accessors.cc:2:
In file included from s2geography/accessors.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2geography/accessors.cc:2:
In file included from s2geography/accessors.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:56:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2geography/accessors.cc:2:
In file included from s2geography/accessors.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2geography/accessors.cc:2:
In file included from s2geography/accessors.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2geography/accessors.cc:2:
In file included from s2geography/accessors.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2geography/accessors.cc:2:
In file included from s2geography/accessors.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/accessors.cc:2:
In file included from s2geography/accessors.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/accessors.cc:2:
In file included from s2geography/accessors.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/accessors.cc:2:
In file included from s2geography/accessors.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/accessors.cc:2:
In file included from s2geography/accessors.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/accessors.cc:2:
In file included from s2geography/accessors.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
18 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2geography/build.cc -o s2geography/build.o
In file included from s2geography/build.cc:2:
In file included from s2geography/build.h:4:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2geography/build.cc:2:
In file included from s2geography/build.h:4:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2geography/build.cc:2:
In file included from s2geography/build.h:4:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
In file included from /usr/local/clang/include/absl/strings/numbers.h:48:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2geography/build.cc:2:
In file included from s2geography/build.h:4:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/build.cc:2:
In file included from s2geography/build.h:4:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/build.cc:2:
In file included from s2geography/build.h:4:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/build.cc:2:
In file included from s2geography/build.h:4:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/build.cc:2:
In file included from s2geography/build.h:4:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/build.cc:2:
In file included from s2geography/build.h:4:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2geography/build.cc:2:
In file included from s2geography/build.h:4:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2geography/build.cc:2:
In file included from s2geography/build.h:4:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2geography/build.cc:2:
In file included from s2geography/build.h:4:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
18 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2geography/coverings.cc -o s2geography/coverings.o
In file included from s2geography/coverings.cc:2:
In file included from s2geography/coverings.h:4:
In file included from ../src/s2/s2region_coverer.h:28:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2geography/coverings.cc:2:
In file included from s2geography/coverings.h:4:
In file included from ../src/s2/s2region_coverer.h:31:
In file included from ../src/s2/s2cell.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2geography/coverings.cc:2:
In file included from s2geography/coverings.h:4:
In file included from ../src/s2/s2region_coverer.h:31:
In file included from ../src/s2/s2cell.h:25:
In file included from ../src/s2/util/coding/coder.h:33:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2geography/coverings.cc:2:
In file included from s2geography/coverings.h:4:
In file included from ../src/s2/s2region_coverer.h:31:
In file included from ../src/s2/s2cell.h:28:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2geography/coverings.cc:2:
In file included from s2geography/coverings.h:4:
In file included from ../src/s2/s2region_coverer.h:31:
In file included from ../src/s2/s2cell.h:28:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2geography/coverings.cc:2:
In file included from s2geography/coverings.h:4:
In file included from ../src/s2/s2region_coverer.h:28:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2geography/coverings.cc:2:
In file included from s2geography/coverings.h:6:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/coverings.cc:2:
In file included from s2geography/coverings.h:6:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/coverings.cc:2:
In file included from s2geography/coverings.h:6:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/coverings.cc:2:
In file included from s2geography/coverings.h:6:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/coverings.cc:2:
In file included from s2geography/coverings.h:6:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/coverings.cc:2:
In file included from s2geography/coverings.h:4:
In file included from ../src/s2/s2region_coverer.h:28:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<const S2ShapeIndexCell *>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<const S2ShapeIndexCell *>, std::is_same<std::allocator<const S2ShapeIndexCell *>, std::allocator<const S2ShapeIndexCell *>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<const S2ShapeIndexCell *, 6, std::allocator<const S2ShapeIndexCell *>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
../src/s2/s2closest_edge_query_base.h:319:51: note: in instantiation of template class 'absl::InlinedVector<const S2ShapeIndexCell *, 6>' requested here
319 | absl::InlinedVector<const S2ShapeIndexCell*, 6> index_cells_;
| ^
In file included from s2geography/coverings.cc:2:
In file included from s2geography/coverings.h:4:
In file included from ../src/s2/s2region_coverer.h:28:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::is_same<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_edge_query_base.h:404:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
404 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/s2/s2closest_edge_query.h:136:18: note: in instantiation of template class 'S2ClosestEdgeQueryBase<S2MinDistance>' requested here
136 | using Result = Base::Result;
| ^
In file included from s2geography/coverings.cc:2:
In file included from s2geography/coverings.h:4:
In file included from ../src/s2/s2region_coverer.h:28:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2geography/coverings.cc:2:
In file included from s2geography/coverings.h:4:
In file included from ../src/s2/s2region_coverer.h:28:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<s2shapeutil::ShapeEdgeId>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3712:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize_impl' requested here
3712 | raw_hash_set::resize_impl(common(), new_capacity, HashtablezInfoHandle{});
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:2664:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize' requested here
2664 | resize(NormalizeCapacity(bucket_count));
| ^
../src/s2/s2closest_edge_query_base.h:481:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::raw_hash_set' requested here
481 | : tested_edges_(/*bucket_count=*/1) {}
| ^
../src/s2/s2closest_edge_query.h:375:28: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::S2ClosestEdgeQueryBase' requested here
375 | inline S2ClosestEdgeQuery::S2ClosestEdgeQuery(const S2ShapeIndex* index,
| ^
In file included from s2geography/coverings.cc:2:
In file included from s2geography/coverings.h:4:
In file included from ../src/s2/s2region_coverer.h:28:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<int>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<int>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<int>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<int>>::transfer<std::allocator<int>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::internal_emplace<int>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:334:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::insert_unique<int, int>' requested here
334 | return this->tree_.insert_unique(params_type::key(v), std::move(v));
| ^
../src/s2/s2closest_edge_query_base.h:578:21: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>>::insert' requested here
578 | shape_ids.insert(containing_shape->id());
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
In file included from s2geography/coverings.cc:2:
In file included from s2geography/coverings.h:4:
In file included from ../src/s2/s2region_coverer.h:28:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::Result>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>::transfer<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:330:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::insert_unique<S2ClosestEdgeQueryBase<S2MinDistance>::Result, const S2ClosestEdgeQueryBase<S2MinDistance>::Result &>' requested here
330 | return this->tree_.insert_unique(params_type::key(v), v);
| ^
../src/s2/s2closest_edge_query_base.h:872:17: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>>::insert' requested here
872 | result_set_.insert(result);
| ^
../src/s2/s2closest_edge_query_base.h:582:7: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::AddResult' requested here
582 | AddResult(Result(Distance::Zero(), shape_id, -1));
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
23 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2geography/distance.cc -o s2geography/distance.o
In file included from s2geography/distance.cc:2:
In file included from s2geography/distance.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2geography/distance.cc:2:
In file included from s2geography/distance.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2geography/distance.cc:2:
In file included from s2geography/distance.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:56:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2geography/distance.cc:2:
In file included from s2geography/distance.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2geography/distance.cc:2:
In file included from s2geography/distance.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2geography/distance.cc:2:
In file included from s2geography/distance.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2geography/distance.cc:2:
In file included from s2geography/distance.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/distance.cc:2:
In file included from s2geography/distance.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/distance.cc:2:
In file included from s2geography/distance.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/distance.cc:2:
In file included from s2geography/distance.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/distance.cc:2:
In file included from s2geography/distance.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/distance.cc:2:
In file included from s2geography/distance.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<const S2ShapeIndexCell *>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<const S2ShapeIndexCell *>, std::is_same<std::allocator<const S2ShapeIndexCell *>, std::allocator<const S2ShapeIndexCell *>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<const S2ShapeIndexCell *, 6, std::allocator<const S2ShapeIndexCell *>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
../src/s2/s2closest_edge_query_base.h:319:51: note: in instantiation of template class 'absl::InlinedVector<const S2ShapeIndexCell *, 6>' requested here
319 | absl::InlinedVector<const S2ShapeIndexCell*, 6> index_cells_;
| ^
In file included from s2geography/distance.cc:2:
In file included from s2geography/distance.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::is_same<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_edge_query_base.h:404:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
404 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/s2/s2closest_edge_query.h:136:18: note: in instantiation of template class 'S2ClosestEdgeQueryBase<S2MinDistance>' requested here
136 | using Result = Base::Result;
| ^
In file included from s2geography/distance.cc:2:
In file included from s2geography/distance.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>, std::is_same<std::allocator<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>, std::allocator<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_edge_query_base.h:404:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
404 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/s2/s2furthest_edge_query.h:128:26: note: in instantiation of template class 'S2ClosestEdgeQueryBase<S2MaxDistance>' requested here
128 | class Options : public Base::Options {
| ^
In file included from s2geography/distance.cc:2:
In file included from s2geography/distance.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2geography/distance.cc:2:
In file included from s2geography/distance.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<s2shapeutil::ShapeEdgeId>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3712:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize_impl' requested here
3712 | raw_hash_set::resize_impl(common(), new_capacity, HashtablezInfoHandle{});
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:2664:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize' requested here
2664 | resize(NormalizeCapacity(bucket_count));
| ^
../src/s2/s2closest_edge_query_base.h:481:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::raw_hash_set' requested here
481 | : tested_edges_(/*bucket_count=*/1) {}
| ^
../src/s2/s2closest_edge_query.h:375:28: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::S2ClosestEdgeQueryBase' requested here
375 | inline S2ClosestEdgeQuery::S2ClosestEdgeQuery(const S2ShapeIndex* index,
| ^
In file included from s2geography/distance.cc:2:
In file included from s2geography/distance.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<int>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<int>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<int>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<int>>::transfer<std::allocator<int>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::internal_emplace<int>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:334:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::insert_unique<int, int>' requested here
334 | return this->tree_.insert_unique(params_type::key(v), std::move(v));
| ^
../src/s2/s2closest_edge_query_base.h:578:21: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>>::insert' requested here
578 | shape_ids.insert(containing_shape->id());
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
In file included from s2geography/distance.cc:2:
In file included from s2geography/distance.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::Result>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>::transfer<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:330:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::insert_unique<S2ClosestEdgeQueryBase<S2MinDistance>::Result, const S2ClosestEdgeQueryBase<S2MinDistance>::Result &>' requested here
330 | return this->tree_.insert_unique(params_type::key(v), v);
| ^
../src/s2/s2closest_edge_query_base.h:872:17: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>>::insert' requested here
872 | result_set_.insert(result);
| ^
../src/s2/s2closest_edge_query_base.h:582:7: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::AddResult' requested here
582 | AddResult(Result(Distance::Zero(), shape_id, -1));
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
24 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2geography/geography.cc -o s2geography/geography.o
In file included from s2geography/geography.cc:2:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2geography/geography.cc:2:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2geography/geography.cc:2:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:56:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2geography/geography.cc:2:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2geography/geography.cc:2:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2geography/geography.cc:2:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2geography/geography.cc:2:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/geography.cc:2:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/geography.cc:2:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/geography.cc:2:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/geography.cc:2:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/geography.cc:2:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
18 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2geography/linear-referencing.cc -o s2geography/linear-referencing.o
In file included from s2geography/linear-referencing.cc:2:
In file included from s2geography/linear-referencing.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2geography/linear-referencing.cc:2:
In file included from s2geography/linear-referencing.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2geography/linear-referencing.cc:2:
In file included from s2geography/linear-referencing.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:56:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2geography/linear-referencing.cc:2:
In file included from s2geography/linear-referencing.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2geography/linear-referencing.cc:2:
In file included from s2geography/linear-referencing.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2geography/linear-referencing.cc:2:
In file included from s2geography/linear-referencing.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2geography/linear-referencing.cc:2:
In file included from s2geography/linear-referencing.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/linear-referencing.cc:2:
In file included from s2geography/linear-referencing.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/linear-referencing.cc:2:
In file included from s2geography/linear-referencing.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/linear-referencing.cc:2:
In file included from s2geography/linear-referencing.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/linear-referencing.cc:2:
In file included from s2geography/linear-referencing.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/linear-referencing.cc:2:
In file included from s2geography/linear-referencing.h:4:
In file included from s2geography/geography.h:4:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
18 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2geography/predicates.cc -o s2geography/predicates.o
In file included from s2geography/predicates.cc:2:
In file included from s2geography/predicates.h:4:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2geography/predicates.cc:2:
In file included from s2geography/predicates.h:4:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2geography/predicates.cc:2:
In file included from s2geography/predicates.h:4:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:56:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2geography/predicates.cc:2:
In file included from s2geography/predicates.h:4:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2geography/predicates.cc:2:
In file included from s2geography/predicates.h:4:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2geography/predicates.cc:2:
In file included from s2geography/predicates.h:4:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2geography/predicates.cc:2:
In file included from s2geography/predicates.h:4:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/predicates.cc:2:
In file included from s2geography/predicates.h:4:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/predicates.cc:2:
In file included from s2geography/predicates.h:4:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/predicates.cc:2:
In file included from s2geography/predicates.h:4:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/predicates.cc:2:
In file included from s2geography/predicates.h:4:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2geography/predicates.cc:2:
In file included from s2geography/predicates.h:4:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
18 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/encoded_s2cell_id_vector.cc -o s2/encoded_s2cell_id_vector.o
In file included from s2/encoded_s2cell_id_vector.cc:18:
In file included from ../src/s2/encoded_s2cell_id_vector.h:26:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/encoded_s2cell_id_vector.cc:18:
In file included from ../src/s2/encoded_s2cell_id_vector.h:26:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/encoded_s2cell_id_vector.cc:18:
In file included from ../src/s2/encoded_s2cell_id_vector.h:27:
In file included from ../src/s2/util/coding/coder.h:33:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/encoded_s2cell_id_vector.cc:18:
In file included from ../src/s2/encoded_s2cell_id_vector.h:29:
In file included from ../src/s2/s2cell_id.h:43:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/encoded_s2cell_id_vector.cc:18:
In file included from ../src/s2/encoded_s2cell_id_vector.h:29:
In file included from ../src/s2/s2cell_id.h:43:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/encoded_s2cell_id_vector.cc:18:
In file included from ../src/s2/encoded_s2cell_id_vector.h:26:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/encoded_s2cell_id_vector.cc:18:
In file included from ../src/s2/encoded_s2cell_id_vector.h:26:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
13 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/encoded_s2point_vector.cc -o s2/encoded_s2point_vector.o
In file included from s2/encoded_s2point_vector.cc:18:
In file included from ../src/s2/encoded_s2point_vector.h:25:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/encoded_s2point_vector.cc:18:
In file included from ../src/s2/encoded_s2point_vector.h:25:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/encoded_s2point_vector.cc:18:
In file included from ../src/s2/encoded_s2point_vector.h:27:
In file included from ../src/s2/encoded_string_vector.h:30:
In file included from ../src/s2/util/coding/coder.h:33:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/encoded_s2point_vector.cc:18:
In file included from ../src/s2/encoded_s2point_vector.h:29:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/encoded_s2point_vector.cc:18:
In file included from ../src/s2/encoded_s2point_vector.h:29:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/encoded_s2point_vector.cc:18:
In file included from ../src/s2/encoded_s2point_vector.h:25:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/encoded_s2point_vector.cc:18:
In file included from ../src/s2/encoded_s2point_vector.h:25:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
13 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/encoded_s2shape_index.cc -o s2/encoded_s2shape_index.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/encoded_string_vector.cc -o s2/encoded_string_vector.o
In file included from s2/encoded_s2shape_index.cc:18:
In file included from ../src/s2/encoded_s2shape_index.h:28:
In file included from /usr/local/clang/include/absl/strings/cord.h:76:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:22:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/encoded_s2shape_index.cc:18:
In file included from ../src/s2/encoded_s2shape_index.h:28:
In file included from /usr/local/clang/include/absl/strings/cord.h:76:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/encoded_s2shape_index.cc:18:
In file included from ../src/s2/encoded_s2shape_index.h:28:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:83:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/arg.h:35:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/encoded_s2shape_index.cc:18:
In file included from ../src/s2/encoded_s2shape_index.h:28:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/encoded_s2shape_index.cc:18:
In file included from ../src/s2/encoded_s2shape_index.h:28:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/encoded_s2shape_index.cc:18:
In file included from ../src/s2/encoded_s2shape_index.h:28:
In file included from /usr/local/clang/include/absl/strings/cord.h:76:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:22:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/encoded_s2shape_index.cc:18:
In file included from ../src/s2/encoded_s2shape_index.h:32:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/encoded_s2shape_index.cc:18:
In file included from ../src/s2/encoded_s2shape_index.h:32:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/encoded_s2shape_index.cc:18:
In file included from ../src/s2/encoded_s2shape_index.h:32:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/encoded_s2shape_index.cc:18:
In file included from ../src/s2/encoded_s2shape_index.h:32:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/encoded_s2shape_index.cc:18:
In file included from ../src/s2/encoded_s2shape_index.h:32:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/encoded_string_vector.cc:18:
In file included from ../src/s2/encoded_string_vector.h:28:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/encoded_string_vector.cc:18:
In file included from ../src/s2/encoded_string_vector.h:28:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/encoded_string_vector.cc:18:
In file included from ../src/s2/encoded_string_vector.h:30:
In file included from ../src/s2/util/coding/coder.h:33:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/encoded_s2shape_index.cc:18:
In file included from ../src/s2/encoded_s2shape_index.h:28:
In file included from /usr/local/clang/include/absl/strings/cord.h:76:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:22:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
5 warnings generated.
18 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/id_set_lexicon.cc -o s2/id_set_lexicon.o
In file included from s2/id_set_lexicon.cc:18:
In file included from ../src/s2/id_set_lexicon.h:28:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/id_set_lexicon.cc:18:
In file included from ../src/s2/id_set_lexicon.h:28:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
4 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/mutable_s2shape_index.cc -o s2/mutable_s2shape_index.o
In file included from s2/mutable_s2shape_index.cc:18:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:63:
In file included from /usr/local/clang/include/absl/container/internal/common.h:21:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/mutable_s2shape_index.cc:18:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:105:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/mutable_s2shape_index.cc:18:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
In file included from /usr/local/clang/include/absl/strings/numbers.h:48:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/mutable_s2shape_index.cc:18:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/mutable_s2shape_index.cc:18:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/mutable_s2shape_index.cc:18:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/mutable_s2shape_index.cc:18:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/mutable_s2shape_index.cc:18:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/mutable_s2shape_index.cc:18:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/mutable_s2shape_index.cc:18:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/mutable_s2shape_index.cc:18:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:63:
In file included from /usr/local/clang/include/absl/container/internal/common.h:21:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
s2/mutable_s2shape_index.cc:74:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
74 | S2_DEFINE_int32(
| ^
../src/s2/base/commandlineflags.h:33:3: note: expanded from macro 'S2_DEFINE_int32'
33 | ABSL_FLAG(int32, name, default_value, description)
| ^
/usr/local/clang/include/absl/flags/flag.h:169:3: note: expanded from macro 'ABSL_FLAG'
169 | ABSL_FLAG_IMPL(Type, name, default_value, help)
| ^
/usr/local/clang/include/absl/flags/flag.h:270:3: note: expanded from macro 'ABSL_FLAG_IMPL'
270 | ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER(name, help) \
| ^
/usr/local/clang/include/absl/flags/flag.h:248:44: note: expanded from macro 'ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER'
248 | constexpr auto FLAGS_help_storage_##name ABSL_INTERNAL_UNIQUE_SMALL_NAME() \
| ^
/usr/local/clang/include/absl/base/optimization.h:307:46: note: expanded from macro 'ABSL_INTERNAL_UNIQUE_SMALL_NAME'
307 | asm(ABSL_INTERNAL_UNIQUE_SMALL_NAME1(.absl.__COUNTER__))
| ^
s2/mutable_s2shape_index.cc:93:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
93 | S2_DEFINE_int64(
| ^
../src/s2/base/commandlineflags.h:36:3: note: expanded from macro 'S2_DEFINE_int64'
36 | ABSL_FLAG(int64, name, default_value, description)
| ^
/usr/local/clang/include/absl/flags/flag.h:169:3: note: expanded from macro 'ABSL_FLAG'
169 | ABSL_FLAG_IMPL(Type, name, default_value, help)
| ^
/usr/local/clang/include/absl/flags/flag.h:270:3: note: expanded from macro 'ABSL_FLAG_IMPL'
270 | ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER(name, help) \
| ^
/usr/local/clang/include/absl/flags/flag.h:248:44: note: expanded from macro 'ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER'
248 | constexpr auto FLAGS_help_storage_##name ABSL_INTERNAL_UNIQUE_SMALL_NAME() \
| ^
/usr/local/clang/include/absl/base/optimization.h:307:46: note: expanded from macro 'ABSL_INTERNAL_UNIQUE_SMALL_NAME'
307 | asm(ABSL_INTERNAL_UNIQUE_SMALL_NAME1(.absl.__COUNTER__))
| ^
s2/mutable_s2shape_index.cc:110:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
110 | S2_DEFINE_double(
| ^
../src/s2/base/commandlineflags.h:30:3: note: expanded from macro 'S2_DEFINE_double'
30 | ABSL_FLAG(double, name, default_value, description)
| ^
/usr/local/clang/include/absl/flags/flag.h:169:3: note: expanded from macro 'ABSL_FLAG'
169 | ABSL_FLAG_IMPL(Type, name, default_value, help)
| ^
/usr/local/clang/include/absl/flags/flag.h:270:3: note: expanded from macro 'ABSL_FLAG_IMPL'
270 | ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER(name, help) \
| ^
/usr/local/clang/include/absl/flags/flag.h:248:44: note: expanded from macro 'ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER'
248 | constexpr auto FLAGS_help_storage_##name ABSL_INTERNAL_UNIQUE_SMALL_NAME() \
| ^
/usr/local/clang/include/absl/base/optimization.h:307:46: note: expanded from macro 'ABSL_INTERNAL_UNIQUE_SMALL_NAME'
307 | asm(ABSL_INTERNAL_UNIQUE_SMALL_NAME1(.absl.__COUNTER__))
| ^
s2/mutable_s2shape_index.cc:160:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
160 | S2_DEFINE_double(
| ^
../src/s2/base/commandlineflags.h:30:3: note: expanded from macro 'S2_DEFINE_double'
30 | ABSL_FLAG(double, name, default_value, description)
| ^
/usr/local/clang/include/absl/flags/flag.h:169:3: note: expanded from macro 'ABSL_FLAG'
169 | ABSL_FLAG_IMPL(Type, name, default_value, help)
| ^
/usr/local/clang/include/absl/flags/flag.h:270:3: note: expanded from macro 'ABSL_FLAG_IMPL'
270 | ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER(name, help) \
| ^
/usr/local/clang/include/absl/flags/flag.h:248:44: note: expanded from macro 'ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER'
248 | constexpr auto FLAGS_help_storage_##name ABSL_INTERNAL_UNIQUE_SMALL_NAME() \
| ^
/usr/local/clang/include/absl/base/optimization.h:307:46: note: expanded from macro 'ABSL_INTERNAL_UNIQUE_SMALL_NAME'
307 | asm(ABSL_INTERNAL_UNIQUE_SMALL_NAME1(.absl.__COUNTER__))
| ^
s2/mutable_s2shape_index.cc:886:12: warning: variable 'i' set but not used [-Wunused-but-set-variable]
886 | for (int i = 0; num_edges_left > 0; ++i) {
| ^
In file included from s2/mutable_s2shape_index.cc:18:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:63:
In file included from /usr/local/clang/include/absl/container/internal/common.h:21:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/mutable_s2shape_index.cc:18:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:63:
In file included from /usr/local/clang/include/absl/container/internal/common.h:21:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<std::pair<const S2CellId, S2ShapeIndexCell *>>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<std::pair<const S2CellId, S2ShapeIndexCell *>>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<std::pair<const S2CellId, S2ShapeIndexCell *>>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::map_slot_policy<S2CellId, S2ShapeIndexCell *>>::transfer<std::allocator<std::pair<const S2CellId, S2ShapeIndexCell *>>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::map_params<S2CellId, S2ShapeIndexCell *, std::less<S2CellId>, std::allocator<std::pair<const S2CellId, S2ShapeIndexCell *>>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::map_params<S2CellId, S2ShapeIndexCell *, std::less<S2CellId>, std::allocator<std::pair<const S2CellId, S2ShapeIndexCell *>>, 256, false>>::transfer_n' requested here
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2194:5: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<S2CellId, S2ShapeIndexCell *, std::less<S2CellId>, std::allocator<std::pair<const S2CellId, S2ShapeIndexCell *>>, 256, false>>::internal_emplace<absl::container_internal::map_slot_type<S2CellId, S2ShapeIndexCell *> *>' requested here
2194 | internal_emplace(end(), iter.slot());
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2424:9: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<S2CellId, S2ShapeIndexCell *, std::less<S2CellId>, std::allocator<std::pair<const S2CellId, S2ShapeIndexCell *>>, 256, false>>::copy_or_move_values_in_order<absl::container_internal::btree<absl::container_internal::map_params<S2CellId, S2ShapeIndexCell *, std::less<S2CellId>, std::allocator<std::pair<const S2CellId, S2ShapeIndexCell *>>, 256, false>>>' requested here
2424 | copy_or_move_values_in_order(other);
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:95:61: note: in instantiation of member function 'absl::container_internal::btree<absl::container_internal::map_params<S2CellId, S2ShapeIndexCell *, std::less<S2CellId>, std::allocator<std::pair<const S2CellId, S2ShapeIndexCell *>>, 256, false>>::operator=' requested here
95 | std::is_nothrow_move_assignable<Tree>::value) = default;
| ^
24 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/r2rect.cc -o s2/r2rect.o
In file included from s2/r2rect.cc:18:
In file included from ../src/s2/r2rect.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/r2rect.cc:18:
In file included from ../src/s2/r2rect.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
4 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s1angle.cc -o s2/s1angle.o
In file included from s2/s1angle.cc:18:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s1angle.cc:18:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s1angle.cc:18:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s1angle.cc:18:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s1angle.cc:18:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s1angle.cc:18:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s1angle.cc:18:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
13 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s1chord_angle.cc -o s2/s1chord_angle.o
In file included from s2/s1chord_angle.cc:18:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s1chord_angle.cc:18:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s1chord_angle.cc:18:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s1chord_angle.cc:18:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s1chord_angle.cc:18:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s1chord_angle.cc:18:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s1chord_angle.cc:18:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
13 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s1interval.cc -o s2/s1interval.o
In file included from s2/s1interval.cc:18:
In file included from ../src/s2/s1interval.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s1interval.cc:18:
In file included from ../src/s2/s1interval.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
4 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2boolean_operation.cc -o s2/s2boolean_operation.o
In file included from s2/s2boolean_operation.cc:67:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2boolean_operation.cc:67:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2boolean_operation.cc:67:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:56:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2buffer_operation.cc -o s2/s2buffer_operation.o
In file included from s2/s2boolean_operation.cc:67:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2boolean_operation.cc:67:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2boolean_operation.cc:67:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2boolean_operation.cc:67:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2boolean_operation.cc:67:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2boolean_operation.cc:67:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2boolean_operation.cc:67:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2boolean_operation.cc:67:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2buffer_operation.cc:49:
In file included from ../src/s2/s2buffer_operation.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2buffer_operation.cc:49:
In file included from ../src/s2/s2buffer_operation.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2buffer_operation.cc:49:
In file included from ../src/s2/s2buffer_operation.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2boolean_operation.cc:67:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<(anonymous namespace)::CrossingGraphEdge>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<(anonymous namespace)::CrossingGraphEdge>, std::is_same<std::allocator<(anonymous namespace)::CrossingGraphEdge>, std::allocator<(anonymous namespace)::CrossingGraphEdge>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<(anonymous namespace)::CrossingGraphEdge, 2, std::allocator<(anonymous namespace)::CrossingGraphEdge>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
s2/s2boolean_operation.cc:422:55: note: in instantiation of template class 'absl::InlinedVector<(anonymous namespace)::CrossingGraphEdge, 2>' requested here
422 | GatherIncidentEdges(a_vertices, 0, b_input_edges, &b_edges);
| ^
In file included from s2/s2buffer_operation.cc:49:
In file included from ../src/s2/s2buffer_operation.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2buffer_operation.cc:49:
In file included from ../src/s2/s2buffer_operation.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2buffer_operation.cc:49:
In file included from ../src/s2/s2buffer_operation.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2boolean_operation.cc:67:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2buffer_operation.cc:49:
In file included from ../src/s2/s2buffer_operation.h:27:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2buffer_operation.cc:49:
In file included from ../src/s2/s2buffer_operation.h:27:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2buffer_operation.cc:49:
In file included from ../src/s2/s2buffer_operation.h:27:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2buffer_operation.cc:49:
In file included from ../src/s2/s2buffer_operation.h:27:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2buffer_operation.cc:49:
In file included from ../src/s2/s2buffer_operation.h:27:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2boolean_operation.cc:67:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<std::pair<const S2BooleanOperation::SourceId, int>>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<std::pair<const S2BooleanOperation::SourceId, int>>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<std::pair<const S2BooleanOperation::SourceId, int>>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::map_slot_policy<S2BooleanOperation::SourceId, int>>::transfer<std::allocator<std::pair<const S2BooleanOperation::SourceId, int>>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::map_params<S2BooleanOperation::SourceId, int, std::less<S2BooleanOperation::SourceId>, std::allocator<std::pair<const S2BooleanOperation::SourceId, int>>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<S2BooleanOperation::SourceId, int, std::less<S2BooleanOperation::SourceId>, std::allocator<std::pair<const S2BooleanOperation::SourceId, int>>, 256, false>>::internal_emplace<const std::piecewise_construct_t &, std::tuple<const S2BooleanOperation::SourceId &>, std::tuple<>>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:584:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<S2BooleanOperation::SourceId, int, std::less<S2BooleanOperation::SourceId>, std::allocator<std::pair<const S2BooleanOperation::SourceId, int>>, 256, false>>::insert_unique<S2BooleanOperation::SourceId, const std::piecewise_construct_t &, std::tuple<const S2BooleanOperation::SourceId &>, std::tuple<>>' requested here
584 | return this->tree_.insert_unique(
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:517:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<S2BooleanOperation::SourceId, int, std::less<S2BooleanOperation::SourceId>, std::allocator<std::pair<const S2BooleanOperation::SourceId, int>>, 256, false>>>::try_emplace_impl<const S2BooleanOperation::SourceId &>' requested here
517 | return try_emplace_impl(k, std::forward<Args>(args)...);
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:540:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<S2BooleanOperation::SourceId, int, std::less<S2BooleanOperation::SourceId>, std::allocator<std::pair<const S2BooleanOperation::SourceId, int>>, 256, false>>>::try_emplace<S2BooleanOperation::SourceId, 0>' requested here
540 | return try_emplace(k).first->second;
| ^
s2/s2boolean_operation.cc:1254:21: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<S2BooleanOperation::SourceId, int, std::less<S2BooleanOperation::SourceId>, std::allocator<std::pair<const S2BooleanOperation::SourceId, int>>, 256, false>>>::operator[]<S2BooleanOperation::SourceId>' requested here
1254 | source_id_map_[src_id] = input_edge_id();
| ^
In file included from s2/s2boolean_operation.cc:67:
In file included from ../src/s2/s2boolean_operation.h:26:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<std::pair<const s2shapeutil::ShapeEdgeId, bool>>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashMapPolicy<s2shapeutil::ShapeEdgeId, bool>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3720:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashMapPolicy<s2shapeutil::ShapeEdgeId, bool>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<std::pair<const s2shapeutil::ShapeEdgeId, bool>>>::resize_impl' requested here
3720 | raw_hash_set::resize_impl(common(), NextCapacity(SooCapacity()),
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3924:9: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
3924 | resize_with_soo_infoz(infoz);
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:4049:26: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashMapPolicy<s2shapeutil::ShapeEdgeId, bool>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<std::pair<const s2shapeutil::ShapeEdgeId, bool>>>::find_or_prepare_insert_soo<s2shapeutil::ShapeEdgeId>' requested here
4049 | if (is_soo()) return find_or_prepare_insert_soo(key);
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_map.h:212:22: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashMapPolicy<s2shapeutil::ShapeEdgeId, bool>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<std::pair<const s2shapeutil::ShapeEdgeId, bool>>>::find_or_prepare_insert<s2shapeutil::ShapeEdgeId>' requested here
212 | auto res = this->find_or_prepare_insert(k);
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_map.h:141:12: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_map<absl::container_internal::FlatHashMapPolicy<s2shapeutil::ShapeEdgeId, bool>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<std::pair<const s2shapeutil::ShapeEdgeId, bool>>>::try_emplace_impl<const s2shapeutil::ShapeEdgeId &>' requested here
141 | return try_emplace_impl(k, std::forward<Args>(args)...);
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_map.h:193:49: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_map<absl::container_internal::FlatHashMapPolicy<s2shapeutil::ShapeEdgeId, bool>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<std::pair<const s2shapeutil::ShapeEdgeId, bool>>>::try_emplace<s2shapeutil::ShapeEdgeId, 0>' requested here
193 | return Policy::value(&this->unchecked_deref(try_emplace(key).first));
| ^
s2/s2boolean_operation.cc:1762:26: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_map<absl::container_internal::FlatHashMapPolicy<s2shapeutil::ShapeEdgeId, bool>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<std::pair<const s2shapeutil::ShapeEdgeId, bool>>>::operator[]<s2shapeutil::ShapeEdgeId, absl::container_internal::FlatHashMapPolicy<s2shapeutil::ShapeEdgeId, bool>>' requested here
1762 | is_degenerate_hole_[r.a0_loop_match_id] = inside_;
| ^
In file included from s2/s2buffer_operation.cc:49:
In file included from ../src/s2/s2buffer_operation.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
18 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2builder_graph.cc -o s2/s2builder_graph.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2builder.cc -o s2/s2builder.o
21 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2builderutil_closed_set_normalizer.cc -o s2/s2builderutil_closed_set_normalizer.o
In file included from s2/s2builder_graph.cc:18:
In file included from ../src/s2/s2builder_graph.h:30:
In file included from ../src/s2/id_set_lexicon.h:28:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2builder_graph.cc:18:
In file included from ../src/s2/s2builder_graph.h:30:
In file included from ../src/s2/id_set_lexicon.h:28:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:56:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2builderutil_closed_set_normalizer.cc:18:
In file included from ../src/s2/s2builderutil_closed_set_normalizer.h:24:
In file included from ../src/s2/id_set_lexicon.h:28:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2builderutil_closed_set_normalizer.cc:18:
In file included from ../src/s2/s2builderutil_closed_set_normalizer.h:24:
In file included from ../src/s2/id_set_lexicon.h:28:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2builder_graph.cc:18:
In file included from ../src/s2/s2builder_graph.h:31:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:56:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2builder_graph.cc:18:
In file included from ../src/s2/s2builder_graph.h:31:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2builder_graph.cc:18:
In file included from ../src/s2/s2builder_graph.h:31:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2builder_graph.cc:18:
In file included from ../src/s2/s2builder_graph.h:30:
In file included from ../src/s2/id_set_lexicon.h:28:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builder_graph.cc:18:
In file included from ../src/s2/s2builder_graph.h:31:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builder_graph.cc:18:
In file included from ../src/s2/s2builder_graph.h:31:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builder_graph.cc:18:
In file included from ../src/s2/s2builder_graph.h:31:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builder_graph.cc:18:
In file included from ../src/s2/s2builder_graph.h:31:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builder_graph.cc:18:
In file included from ../src/s2/s2builder_graph.h:31:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_closed_set_normalizer.cc:18:
In file included from ../src/s2/s2builderutil_closed_set_normalizer.h:25:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:56:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<const S2ShapeIndexCell *>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<const S2ShapeIndexCell *>, std::is_same<std::allocator<const S2ShapeIndexCell *>, std::allocator<const S2ShapeIndexCell *>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<const S2ShapeIndexCell *, 6, std::allocator<const S2ShapeIndexCell *>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
../src/s2/s2closest_edge_query_base.h:319:51: note: in instantiation of template class 'absl::InlinedVector<const S2ShapeIndexCell *, 6>' requested here
319 | absl::InlinedVector<const S2ShapeIndexCell*, 6> index_cells_;
| ^
In file included from s2/s2builderutil_closed_set_normalizer.cc:18:
In file included from ../src/s2/s2builderutil_closed_set_normalizer.h:25:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2builderutil_closed_set_normalizer.cc:18:
In file included from ../src/s2/s2builderutil_closed_set_normalizer.h:25:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2builderutil_closed_set_normalizer.cc:18:
In file included from ../src/s2/s2builderutil_closed_set_normalizer.h:24:
In file included from ../src/s2/id_set_lexicon.h:28:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::is_same<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_edge_query_base.h:404:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
404 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/s2/s2closest_edge_query.h:136:18: note: in instantiation of template class 'S2ClosestEdgeQueryBase<S2MinDistance>' requested here
136 | using Result = Base::Result;
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestPointQueryBase<S2MinDistance, int>::Result>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestPointQueryBase<S2MinDistance, int>::Result>, std::is_same<std::allocator<S2ClosestPointQueryBase<S2MinDistance, int>::Result>, std::allocator<S2ClosestPointQueryBase<S2MinDistance, int>::Result>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestPointQueryBase<S2MinDistance, int>::Result, 16, std::allocator<S2ClosestPointQueryBase<S2MinDistance, int>::Result>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestPointQueryBase<S2MinDistance, int>::Result, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_point_query_base.h:302:8: note: in instantiation of default argument for 'priority_queue<Result, absl::InlinedVector<Result, 16>>' required here
302 | std::priority_queue<Result, absl::InlinedVector<Result, 16>> result_set_;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/s2/s2closest_point_query.h:227:27: note: in instantiation of template class 'S2ClosestPointQueryBase<S2MinDistance, int>' requested here
227 | using Result = typename Base::Result;
| ^
s2/s2builder.cc:736:31: note: in instantiation of template class 'S2ClosestPointQuery<int>' requested here
736 | S2ClosestPointQuery<SiteId> site_query(site_index, options);
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestPointQueryBase<S2MinDistance, int>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestPointQueryBase<S2MinDistance, int>::QueueEntry>, std::is_same<std::allocator<S2ClosestPointQueryBase<S2MinDistance, int>::QueueEntry>, std::allocator<S2ClosestPointQueryBase<S2MinDistance, int>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestPointQueryBase<S2MinDistance, int>::QueueEntry, 16, std::allocator<S2ClosestPointQueryBase<S2MinDistance, int>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestPointQueryBase<S2MinDistance, int>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_point_query_base.h:324:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
324 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/s2/s2closest_point_query.h:227:27: note: in instantiation of template class 'S2ClosestPointQueryBase<S2MinDistance, int>' requested here
227 | using Result = typename Base::Result;
| ^
s2/s2builder.cc:736:31: note: in instantiation of template class 'S2ClosestPointQuery<int>' requested here
736 | S2ClosestPointQuery<SiteId> site_query(site_index, options);
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2builderutil_find_polygon_degeneracies.cc -o s2/s2builderutil_find_polygon_degeneracies.o
In file included from s2/s2builderutil_closed_set_normalizer.cc:18:
In file included from ../src/s2/s2builderutil_closed_set_normalizer.h:25:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_closed_set_normalizer.cc:18:
In file included from ../src/s2/s2builderutil_closed_set_normalizer.h:25:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_closed_set_normalizer.cc:18:
In file included from ../src/s2/s2builderutil_closed_set_normalizer.h:25:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_closed_set_normalizer.cc:18:
In file included from ../src/s2/s2builderutil_closed_set_normalizer.h:25:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_closed_set_normalizer.cc:18:
In file included from ../src/s2/s2builderutil_closed_set_normalizer.h:25:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2builder_graph.cc:18:
In file included from ../src/s2/s2builder_graph.h:30:
In file included from ../src/s2/id_set_lexicon.h:28:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<s2shapeutil::ShapeEdgeId>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3712:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize_impl' requested here
3712 | raw_hash_set::resize_impl(common(), new_capacity, HashtablezInfoHandle{});
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:2664:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize' requested here
2664 | resize(NormalizeCapacity(bucket_count));
| ^
../src/s2/s2closest_edge_query_base.h:481:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::raw_hash_set' requested here
481 | : tested_edges_(/*bucket_count=*/1) {}
| ^
../src/s2/s2closest_edge_query.h:375:28: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::S2ClosestEdgeQueryBase' requested here
375 | inline S2ClosestEdgeQuery::S2ClosestEdgeQuery(const S2ShapeIndex* index,
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<int>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<int>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<int>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<int>>::transfer<std::allocator<int>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::internal_emplace<int>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:334:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::insert_unique<int, int>' requested here
334 | return this->tree_.insert_unique(params_type::key(v), std::move(v));
| ^
../src/s2/s2closest_edge_query_base.h:578:21: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>>::insert' requested here
578 | shape_ids.insert(containing_shape->id());
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::Result>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>::transfer<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:330:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::insert_unique<S2ClosestEdgeQueryBase<S2MinDistance>::Result, const S2ClosestEdgeQueryBase<S2MinDistance>::Result &>' requested here
330 | return this->tree_.insert_unique(params_type::key(v), v);
| ^
../src/s2/s2closest_edge_query_base.h:872:17: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>>::insert' requested here
872 | result_set_.insert(result);
| ^
../src/s2/s2closest_edge_query_base.h:582:7: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::AddResult' requested here
582 | AddResult(Result(Distance::Zero(), shape_id, -1));
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
In file included from s2/s2builderutil_closed_set_normalizer.cc:18:
In file included from ../src/s2/s2builderutil_closed_set_normalizer.h:24:
In file included from ../src/s2/id_set_lexicon.h:28:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2builder_graph.cc:18:
In file included from ../src/s2/s2builder_graph.h:30:
In file included from ../src/s2/id_set_lexicon.h:28:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<std::pair<const int, int>>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<std::pair<const int, int>>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<std::pair<const int, int>>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::map_slot_policy<int, int>>::transfer<std::allocator<std::pair<const int, int>>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::map_params<int, int, std::less<int>, std::allocator<std::pair<const int, int>>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<int, int, std::less<int>, std::allocator<std::pair<const int, int>>, 256, false>>::internal_emplace<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<>>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:584:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<int, int, std::less<int>, std::allocator<std::pair<const int, int>>, 256, false>>::insert_unique<int, const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<>>' requested here
584 | return this->tree_.insert_unique(
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:517:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<int, int, std::less<int>, std::allocator<std::pair<const int, int>>, 256, false>>>::try_emplace_impl<const int &>' requested here
517 | return try_emplace_impl(k, std::forward<Args>(args)...);
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:540:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<int, int, std::less<int>, std::allocator<std::pair<const int, int>>, 256, false>>>::try_emplace<int, 0>' requested here
540 | return try_emplace(k).first->second;
| ^
s2/s2builder_graph.cc:743:27: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<int, int, std::less<int>, std::allocator<std::pair<const int, int>>, 256, false>>>::operator[]<int>' requested here
743 | excess -= excess_used_[v];
| ^
In file included from s2/s2builder.cc:71:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<std::pair<const S2CellId, S2PointIndex<int>::PointData>>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<std::pair<const S2CellId, S2PointIndex<int>::PointData>>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<std::pair<const S2CellId, S2PointIndex<int>::PointData>>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::map_slot_policy<S2CellId, S2PointIndex<int>::PointData>>::transfer<std::allocator<std::pair<const S2CellId, S2PointIndex<int>::PointData>>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::map_params<S2CellId, S2PointIndex<int>::PointData, std::less<S2CellId>, std::allocator<std::pair<const S2CellId, S2PointIndex<int>::PointData>>, 256, true>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1516:12: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<S2CellId, S2PointIndex<int>::PointData, std::less<S2CellId>, std::allocator<std::pair<const S2CellId, S2PointIndex<int>::PointData>>, 256, true>>::insert_multi<std::pair<const S2CellId, S2PointIndex<int>::PointData>>' requested here
1516 | return insert_multi(params_type::key(v), std::forward<ValueType>(v));
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:651:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<S2CellId, S2PointIndex<int>::PointData, std::less<S2CellId>, std::allocator<std::pair<const S2CellId, S2PointIndex<int>::PointData>>, 256, true>>::insert_multi<std::pair<const S2CellId, S2PointIndex<int>::PointData>>' requested here
651 | return this->tree_.insert_multi(std::move(v));
| ^
../src/s2/s2point_index.h:259:8: note: in instantiation of member function 'absl::container_internal::btree_multiset_container<absl::container_internal::btree<absl::container_internal::map_params<S2CellId, S2PointIndex<int>::PointData, std::less<S2CellId>, std::allocator<std::pair<const S2CellId, S2PointIndex<int>::PointData>>, 256, true>>>::insert' requested here
259 | map_.insert(std::make_pair(id, point_data));
| ^
../src/s2/s2point_index.h:264:3: note: in instantiation of member function 'S2PointIndex<int>::Add' requested here
264 | Add(PointData(point, data));
| ^
s2/s2builder.cc:727:17: note: in instantiation of member function 'S2PointIndex<int>::Add' requested here
727 | site_index->Add(sites_[id], id);
| ^
18 warnings generated.
In file included from s2/s2builderutil_find_polygon_degeneracies.cc:18:
In file included from ../src/s2/s2builderutil_find_polygon_degeneracies.h:24:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2builderutil_find_polygon_degeneracies.cc:18:
In file included from ../src/s2/s2builderutil_find_polygon_degeneracies.h:24:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2builderutil_find_polygon_degeneracies.cc:18:
In file included from ../src/s2/s2builderutil_find_polygon_degeneracies.h:24:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:56:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2builderutil_find_polygon_degeneracies.cc:18:
In file included from ../src/s2/s2builderutil_find_polygon_degeneracies.h:24:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2builderutil_find_polygon_degeneracies.cc:18:
In file included from ../src/s2/s2builderutil_find_polygon_degeneracies.h:24:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2builderutil_find_polygon_degeneracies.cc:18:
In file included from ../src/s2/s2builderutil_find_polygon_degeneracies.h:24:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2builderutil_find_polygon_degeneracies.cc:18:
In file included from ../src/s2/s2builderutil_find_polygon_degeneracies.h:24:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_find_polygon_degeneracies.cc:18:
In file included from ../src/s2/s2builderutil_find_polygon_degeneracies.h:24:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_find_polygon_degeneracies.cc:18:
In file included from ../src/s2/s2builderutil_find_polygon_degeneracies.h:24:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_find_polygon_degeneracies.cc:18:
In file included from ../src/s2/s2builderutil_find_polygon_degeneracies.h:24:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_find_polygon_degeneracies.cc:18:
In file included from ../src/s2/s2builderutil_find_polygon_degeneracies.h:24:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_find_polygon_degeneracies.cc:18:
In file included from ../src/s2/s2builderutil_find_polygon_degeneracies.h:24:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2builderutil_find_polygon_degeneracies.cc:18:
In file included from ../src/s2/s2builderutil_find_polygon_degeneracies.h:24:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<std::pair<const S2Point, int>>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<std::pair<const S2Point, int>>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<std::pair<const S2Point, int>>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::map_slot_policy<S2Point, int>>::transfer<std::allocator<std::pair<const S2Point, int>>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::map_params<S2Point, int, std::less<S2Point>, std::allocator<std::pair<const S2Point, int>>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<S2Point, int, std::less<S2Point>, std::allocator<std::pair<const S2Point, int>>, 256, false>>::internal_emplace<const std::piecewise_construct_t &, std::tuple<const S2Point &>, std::tuple<>>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:584:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<S2Point, int, std::less<S2Point>, std::allocator<std::pair<const S2Point, int>>, 256, false>>::insert_unique<S2Point, const std::piecewise_construct_t &, std::tuple<const S2Point &>, std::tuple<>>' requested here
584 | return this->tree_.insert_unique(
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:517:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<S2Point, int, std::less<S2Point>, std::allocator<std::pair<const S2Point, int>>, 256, false>>>::try_emplace_impl<const S2Point &>' requested here
517 | return try_emplace_impl(k, std::forward<Args>(args)...);
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:540:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<S2Point, int, std::less<S2Point>, std::allocator<std::pair<const S2Point, int>>, 256, false>>>::try_emplace<S2Point, 0>' requested here
540 | return try_emplace(k).first->second;
| ^
../src/s2/s2contains_vertex_query.h:63:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<S2Point, int, std::less<S2Point>, std::allocator<std::pair<const S2Point, int>>, 256, false>>>::operator[]<S2Point>' requested here
63 | edge_map_[v] += direction;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2builderutil_get_snapped_winding_delta.cc -o s2/s2builderutil_get_snapped_winding_delta.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2builderutil_lax_polygon_layer.cc -o s2/s2builderutil_lax_polygon_layer.o
19 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2builderutil_lax_polyline_layer.cc -o s2/s2builderutil_lax_polyline_layer.o
19 warnings generated.
In file included from s2/s2builderutil_get_snapped_winding_delta.cc:50:
In file included from ../src/s2/s2builderutil_get_snapped_winding_delta.h:23:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2builderutil_get_snapped_winding_delta.cc:50:
In file included from ../src/s2/s2builderutil_get_snapped_winding_delta.h:23:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2builderutil_lax_polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polyline_layer.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2builderutil_lax_polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polyline_layer.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2builderutil_lax_polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polygon_layer.h:40:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2builderutil_lax_polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polygon_layer.h:40:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2builderutil_get_snapped_winding_delta.cc:50:
In file included from ../src/s2/s2builderutil_get_snapped_winding_delta.h:24:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:56:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2builderutil_lax_polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polyline_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
In file included from /usr/local/clang/include/absl/strings/numbers.h:48:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2builderutil_get_snapped_winding_delta.cc:50:
In file included from ../src/s2/s2builderutil_get_snapped_winding_delta.h:24:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2builderutil_get_snapped_winding_delta.cc:50:
In file included from ../src/s2/s2builderutil_get_snapped_winding_delta.h:24:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2builderutil_get_snapped_winding_delta.cc:50:
In file included from ../src/s2/s2builderutil_get_snapped_winding_delta.h:23:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2builderutil_lax_polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polygon_layer.h:42:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
In file included from /usr/local/clang/include/absl/strings/numbers.h:48:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2builderutil_lax_polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polygon_layer.h:42:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_lax_polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polygon_layer.h:42:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_lax_polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polygon_layer.h:42:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_lax_polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polygon_layer.h:42:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_lax_polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polygon_layer.h:42:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_lax_polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polyline_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_lax_polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polyline_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_lax_polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polyline_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_lax_polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polyline_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_lax_polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polyline_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_lax_polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polygon_layer.h:42:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2builderutil_lax_polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polygon_layer.h:42:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2builderutil_lax_polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polygon_layer.h:40:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2builderutil_lax_polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polyline_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2builderutil_lax_polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polyline_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2builderutil_lax_polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polyline_layer.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2builderutil_get_snapped_winding_delta.cc:50:
In file included from ../src/s2/s2builderutil_get_snapped_winding_delta.h:24:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_get_snapped_winding_delta.cc:50:
In file included from ../src/s2/s2builderutil_get_snapped_winding_delta.h:24:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_get_snapped_winding_delta.cc:50:
In file included from ../src/s2/s2builderutil_get_snapped_winding_delta.h:24:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_get_snapped_winding_delta.cc:50:
In file included from ../src/s2/s2builderutil_get_snapped_winding_delta.h:24:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_get_snapped_winding_delta.cc:50:
In file included from ../src/s2/s2builderutil_get_snapped_winding_delta.h:24:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_lax_polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polygon_layer.h:40:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2builderutil_get_snapped_winding_delta.cc:50:
In file included from ../src/s2/s2builderutil_get_snapped_winding_delta.h:23:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2builderutil_get_snapped_winding_delta.cc:50:
In file included from ../src/s2/s2builderutil_get_snapped_winding_delta.h:23:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<std::pair<const S2Point, s2builderutil::(anonymous namespace)::EdgeSnap>>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<std::pair<const S2Point, s2builderutil::(anonymous namespace)::EdgeSnap>>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<std::pair<const S2Point, s2builderutil::(anonymous namespace)::EdgeSnap>>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::map_slot_policy<S2Point, s2builderutil::(anonymous namespace)::EdgeSnap>>::transfer<std::allocator<std::pair<const S2Point, s2builderutil::(anonymous namespace)::EdgeSnap>>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1006:5: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::map_params<S2Point, s2builderutil::(anonymous namespace)::EdgeSnap, std::less<S2Point>, std::allocator<std::pair<const S2Point, s2builderutil::(anonymous namespace)::EdgeSnap>>, 256, true>>::transfer' requested here
1006 | transfer(slot(dest_i), src_node->slot(src_i), alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2445:26: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::map_params<S2Point, s2builderutil::(anonymous namespace)::EdgeSnap, std::less<S2Point>, std::allocator<std::pair<const S2Point, s2builderutil::(anonymous namespace)::EdgeSnap>>, 256, true>>::transfer' requested here
2445 | internal_iter.node_->transfer(
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:187:18: note: in instantiation of member function 'absl::container_internal::btree<absl::container_internal::map_params<S2Point, s2builderutil::(anonymous namespace)::EdgeSnap, std::less<S2Point>, std::allocator<std::pair<const S2Point, s2builderutil::(anonymous namespace)::EdgeSnap>>, 256, true>>::erase' requested here
187 | return tree_.erase(iter);
| ^
s2/s2builderutil_get_snapped_winding_delta.cc:124:28: note: in instantiation of member function 'absl::container_internal::btree_container<absl::container_internal::btree<absl::container_internal::map_params<S2Point, s2builderutil::(anonymous namespace)::EdgeSnap, std::less<S2Point>, std::allocator<std::pair<const S2Point, s2builderutil::(anonymous namespace)::EdgeSnap>>, 256, true>>>::erase' requested here
124 | input_vertex_edge_map->erase(it);
| ^
In file included from s2/s2builderutil_get_snapped_winding_delta.cc:50:
In file included from ../src/s2/s2builderutil_get_snapped_winding_delta.h:23:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<std::pair<const int, s2builderutil::(anonymous namespace)::EdgeSnap>>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<std::pair<const int, s2builderutil::(anonymous namespace)::EdgeSnap>>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<std::pair<const int, s2builderutil::(anonymous namespace)::EdgeSnap>>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::map_slot_policy<int, s2builderutil::(anonymous namespace)::EdgeSnap>>::transfer<std::allocator<std::pair<const int, s2builderutil::(anonymous namespace)::EdgeSnap>>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::map_params<int, s2builderutil::(anonymous namespace)::EdgeSnap, std::less<int>, std::allocator<std::pair<const int, s2builderutil::(anonymous namespace)::EdgeSnap>>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<int, s2builderutil::(anonymous namespace)::EdgeSnap, std::less<int>, std::allocator<std::pair<const int, s2builderutil::(anonymous namespace)::EdgeSnap>>, 256, false>>::internal_emplace<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<>>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:584:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<int, s2builderutil::(anonymous namespace)::EdgeSnap, std::less<int>, std::allocator<std::pair<const int, s2builderutil::(anonymous namespace)::EdgeSnap>>, 256, false>>::insert_unique<int, const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<>>' requested here
584 | return this->tree_.insert_unique(
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:517:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<int, s2builderutil::(anonymous namespace)::EdgeSnap, std::less<int>, std::allocator<std::pair<const int, s2builderutil::(anonymous namespace)::EdgeSnap>>, 256, false>>>::try_emplace_impl<const int &>' requested here
517 | return try_emplace_impl(k, std::forward<Args>(args)...);
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:540:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<int, s2builderutil::(anonymous namespace)::EdgeSnap, std::less<int>, std::allocator<std::pair<const int, s2builderutil::(anonymous namespace)::EdgeSnap>>, 256, false>>>::try_emplace<int, 0>' requested here
540 | return try_emplace(k).first->second;
| ^
s2/s2builderutil_get_snapped_winding_delta.cc:221:42: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<int, s2builderutil::(anonymous namespace)::EdgeSnap, std::less<int>, std::allocator<std::pair<const int, s2builderutil::(anonymous namespace)::EdgeSnap>>, 256, false>>>::operator[]<int>' requested here
221 | EdgeSnap* snap = &input_id_edge_map[input_id];
| ^
In file included from s2/s2builderutil_lax_polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_lax_polyline_layer.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
18 warnings generated.
In file included from s2/s2builderutil_get_snapped_winding_delta.cc:50:
In file included from ../src/s2/s2builderutil_get_snapped_winding_delta.h:23:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<std::pair<const int, int>>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<std::pair<const int, int>>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<std::pair<const int, int>>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::map_slot_policy<int, int>>::transfer<std::allocator<std::pair<const int, int>>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::map_params<int, int, std::less<int>, std::allocator<std::pair<const int, int>>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<int, int, std::less<int>, std::allocator<std::pair<const int, int>>, 256, false>>::internal_emplace<const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<>>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:584:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<int, int, std::less<int>, std::allocator<std::pair<const int, int>>, 256, false>>::insert_unique<int, const std::piecewise_construct_t &, std::tuple<const int &>, std::tuple<>>' requested here
584 | return this->tree_.insert_unique(
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:517:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<int, int, std::less<int>, std::allocator<std::pair<const int, int>>, 256, false>>>::try_emplace_impl<const int &>' requested here
517 | return try_emplace_impl(k, std::forward<Args>(args)...);
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:540:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<int, int, std::less<int>, std::allocator<std::pair<const int, int>>, 256, false>>>::try_emplace<int, 0>' requested here
540 | return try_emplace(k).first->second;
| ^
s2/s2builderutil_get_snapped_winding_delta.cc:421:26: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<int, int, std::less<int>, std::allocator<std::pair<const int, int>>, 256, false>>>::operator[]<int>' requested here
421 | excess_degree_map[g.edge(e).first] += 1;
| ^
26 warnings generated.
18 warnings generated.
21 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2builderutil_s2point_vector_layer.cc -o s2/s2builderutil_s2point_vector_layer.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2builderutil_s2polygon_layer.cc -o s2/s2builderutil_s2polygon_layer.o
In file included from s2/s2builderutil_s2point_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2builderutil_s2point_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2builderutil_s2polyline_layer.cc -o s2/s2builderutil_s2polyline_layer.o
In file included from s2/s2builderutil_s2point_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
In file included from /usr/local/clang/include/absl/strings/numbers.h:48:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2builderutil_s2point_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_s2point_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_s2point_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_s2point_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_s2point_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_s2polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polygon_layer.h:39:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2builderutil_s2polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polygon_layer.h:39:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2builderutil_s2point_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2builderutil_s2point_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2builderutil_s2point_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2builderutil_s2polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polygon_layer.h:40:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
In file included from /usr/local/clang/include/absl/strings/numbers.h:48:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2builderutil_s2polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polygon_layer.h:40:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_s2polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polygon_layer.h:40:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_s2polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polygon_layer.h:40:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_s2polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polygon_layer.h:40:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_s2polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polygon_layer.h:40:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_s2polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polygon_layer.h:40:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2builderutil_s2polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polygon_layer.h:40:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2builderutil_s2polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polygon_layer.h:39:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2builderutil_s2polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_layer.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2builderutil_s2polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_layer.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2builderutil_s2point_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2point_vector_layer.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2builderutil_s2polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
In file included from /usr/local/clang/include/absl/strings/numbers.h:48:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2builderutil_s2polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_s2polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_s2polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_s2polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_s2polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_s2polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2builderutil_s2polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2builderutil_s2polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_layer.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2builderutil_s2polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polygon_layer.h:39:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
18 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2builderutil_s2polyline_vector_layer.cc -o s2/s2builderutil_s2polyline_vector_layer.o
In file included from s2/s2builderutil_s2polygon_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polygon_layer.h:39:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<std::pair<S2Loop *const, std::pair<int, bool>>>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<std::pair<S2Loop *const, std::pair<int, bool>>>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<std::pair<S2Loop *const, std::pair<int, bool>>>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::map_slot_policy<S2Loop *, std::pair<int, bool>>>::transfer<std::allocator<std::pair<S2Loop *const, std::pair<int, bool>>>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::map_params<S2Loop *, std::pair<int, bool>, std::less<S2Loop *>, std::allocator<std::pair<S2Loop *const, std::pair<int, bool>>>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<S2Loop *, std::pair<int, bool>, std::less<S2Loop *>, std::allocator<std::pair<S2Loop *const, std::pair<int, bool>>>, 256, false>>::internal_emplace<const std::piecewise_construct_t &, std::tuple<S2Loop *&&>, std::tuple<>>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:584:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<S2Loop *, std::pair<int, bool>, std::less<S2Loop *>, std::allocator<std::pair<S2Loop *const, std::pair<int, bool>>>, 256, false>>::insert_unique<S2Loop *, const std::piecewise_construct_t &, std::tuple<S2Loop *&&>, std::tuple<>>' requested here
584 | return this->tree_.insert_unique(
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:524:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<S2Loop *, std::pair<int, bool>, std::less<S2Loop *>, std::allocator<std::pair<S2Loop *const, std::pair<int, bool>>>, 256, false>>>::try_emplace_impl<S2Loop *>' requested here
524 | return try_emplace_impl(std::forward<K>(k), std::forward<Args>(args)...);
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:544:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<S2Loop *, std::pair<int, bool>, std::less<S2Loop *>, std::allocator<std::pair<S2Loop *const, std::pair<int, bool>>>, 256, false>>>::try_emplace<S2Loop *, 0>' requested here
544 | return try_emplace(std::forward<K>(k)).first->second;
| ^
s2/s2builderutil_s2polygon_layer.cc:125:16: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<S2Loop *, std::pair<int, bool>, std::less<S2Loop *>, std::allocator<std::pair<S2Loop *const, std::pair<int, bool>>>, 256, false>>>::operator[]<S2Loop *>' requested here
125 | (*loop_map)[&*loop] =
| ^
19 warnings generated.
In file included from s2/s2builderutil_s2polyline_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_vector_layer.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2builderutil_s2polyline_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_layer.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode coIn file included from ds2/s2builderutil_s2polyline_vector_layer.cce:_18a:
rIn file included from g../src/s2/s2builderutil_s2polyline_vector_layer.h,: 25a:
bIn file included from s../src/s2/base/logging.hl::21::
sIn file included from t/usr/local/clang/include/absl/log/check.hr:i37n:
gIn file included from _/usr/local/clang/include/absl/log/internal/check_impl.hv:i19e:
wIn file included from /usr/local/clang/include/absl/log/internal/check_op.hm:e37s:
sIn file included from a/usr/local/clang/include/absl/base/nullability.hg:e154_:
a/usr/local/clang/include/absl/base/internal/nullability_impl.hr:g38,:
9 :| ^warning:
type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2builderutil_s2polyline_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
In file included from /usr/local/clang/include/absl/strings/numbers.h:48:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2builderutil_s2polyline_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_s2polyline_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_s2polyline_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_s2polyline_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_s2polyline_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
18 warnings generated.
In file included from s2/s2builderutil_s2polyline_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2builderutil_s2polyline_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_vector_layer.h:27:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2builderutil_s2polyline_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_vector_layer.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2builderutil_snap_functions.cc -o s2/s2builderutil_snap_functions.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2cap.cc -o s2/s2cap.o
In file included from s2/s2builderutil_snap_functions.cc:18:
In file included from ../src/s2/s2builderutil_snap_functions.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2builderutil_snap_functions.cc:18:
In file included from ../src/s2/s2builderutil_snap_functions.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2builderutil_snap_functions.cc:18:
In file included from ../src/s2/s2builderutil_snap_functions.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2cap.cc:18:
In file included from ../src/s2/s2cap.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2cap.cc:18:
In file included from ../src/s2/s2cap.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2cap.cc:18:
In file included from ../src/s2/s2cap.h:28:
In file included from ../src/s2/util/coding/coder.h:33:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2builderutil_snap_functions.cc:18:
In file included from ../src/s2/s2builderutil_snap_functions.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2builderutil_snap_functions.cc:18:
In file included from ../src/s2/s2builderutil_snap_functions.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2builderutil_snap_functions.cc:18:
In file included from ../src/s2/s2builderutil_snap_functions.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2builderutil_s2polyline_vector_layer.cc:18:
In file included from ../src/s2/s2builderutil_s2polyline_vector_layer.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2cell_id.cc -o s2/s2cell_id.o
In file included from s2/s2cap.cc:18:
In file included from ../src/s2/s2cap.h:30:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2cap.cc:18:
In file included from ../src/s2/s2cap.h:30:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2cap.cc:18:
In file included from ../src/s2/s2cap.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2builderutil_snap_functions.cc:18:
In file included from ../src/s2/s2builderutil_snap_functions.h:24:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_snap_functions.cc:18:
In file included from ../src/s2/s2builderutil_snap_functions.h:24:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_snap_functions.cc:18:
In file included from ../src/s2/s2builderutil_snap_functions.h:24:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_snap_functions.cc:18:
In file included from ../src/s2/s2builderutil_snap_functions.h:24:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2builderutil_snap_functions.cc:18:
In file included from ../src/s2/s2builderutil_snap_functions.h:24:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
18 warnings generated.
In file included from s2/s2cap.cc:18:
In file included from ../src/s2/s2cap.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2builderutil_snap_functions.cc:18:
In file included from ../src/s2/s2builderutil_snap_functions.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
18 warnings generated.
13 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2cell_index.cc -o s2/s2cell_index.o
In file included from s2/s2cell_id.cc:18:
In file included from ../src/s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2cell_id.cc:18:
In file included from ../src/s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2cell_id.cc:18:
In file included from ../src/s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2cell_id.cc:18:
In file included from ../src/s2/s2cell_id.h:43:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2cell_id.cc:18:
In file included from ../src/s2/s2cell_id.h:43:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2cell_id.cc:18:
In file included from ../src/s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2cell_index.cc:18:
In file included from ../src/s2/s2cell_index.h:26:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2cell_index.cc:18:
In file included from ../src/s2/s2cell_index.h:26:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2cell_id.cc:30:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2cell_id.cc:30:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2cell_id.cc:30:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2cell_id.cc:30:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2cell_id.cc:30:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2cell_index.cc:18:
In file included from ../src/s2/s2cell_index.h:26:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:56:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2cell_index.cc:18:
In file included from ../src/s2/s2cell_index.h:26:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2cell_index.cc:18:
In file included from ../src/s2/s2cell_index.h:26:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2cell_index.cc:18:
In file included from ../src/s2/s2cell_index.h:26:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2cell_id.cc:18:
In file included from ../src/s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
18 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2cell_union.cc -o s2/s2cell_union.o
In file included from s2/s2cell_index.cc:18:
In file included from ../src/s2/s2cell_index.h:26:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2cell_index.cc:18:
In file included from ../src/s2/s2cell_index.h:26:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<int>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:2843:33: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<int>>::transfer_uses_memcpy' requested here
2843 | settings_(PolicyTraits::transfer_uses_memcpy() || !that.is_full_soo()
| ^
/usr/local/clang/include/absl/container/flat_hash_set.h:125:28: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<int>, absl::hash_internal::Hash<int>, std::equal_to<int>, std::allocator<int>>::raw_hash_set' requested here
125 | class ABSL_ATTRIBUTE_OWNER flat_hash_set
| ^
14 warnings generated.
In file included from s2/s2cell_union.cc:18:
In file included from ../src/s2/s2cell_union.h:27:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2cell_union.cc:18:
In file included from ../src/s2/s2cell_union.h:27:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2cell_union.cc:18:
In file included from ../src/s2/s2cell_union.h:29:
In file included from /usr/local/clang/include/absl/flags/flag.h:41:
In file included from /usr/local/clang/include/absl/flags/internal/flag.h:40:
In file included from /usr/local/clang/include/absl/flags/marshalling.h:203:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2cell.cc -o s2/s2cell.o
In file included from s2/s2cell_union.cc:18:
In file included from ../src/s2/s2cell_union.h:37:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2cell_union.cc:18:
In file included from ../src/s2/s2cell_union.h:37:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2cell_union.cc:18:
In file included from ../src/s2/s2cell_union.h:27:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2cell_union.cc:28:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2cell_union.cc:28:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2cell_union.cc:28:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2cell_union.cc:28:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2cell_union.cc:28:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
s2/s2cell_union.cc:48:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
48 | S2_DEFINE_int32(s2cell_union_decode_max_num_cells, 1000000,
| ^
../src/s2/base/commandlineflags.h:33:3: note: expanded from macro 'S2_DEFINE_int32'
33 | ABSL_FLAG(int32, name, default_value, description)
| ^
/usr/local/clang/include/absl/flags/flag.h:169:3: note: expanded from macro 'ABSL_FLAG'
169 | ABSL_FLAG_IMPL(Type, name, default_value, help)
| ^
/usr/local/clang/include/absl/flags/flag.h:270:3: note: expanded from macro 'ABSL_FLAG_IMPL'
270 | ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER(name, help) \
| ^
/usr/local/clang/include/absl/flags/flag.h:248:44: note: expanded from macro 'ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER'
248 | constexpr auto FLAGS_help_storage_##name ABSL_INTERNAL_UNIQUE_SMALL_NAME() \
| ^
/usr/local/clang/include/absl/base/optimization.h:307:46: note: expanded from macro 'ABSL_INTERNAL_UNIQUE_SMALL_NAME'
307 | asm(ABSL_INTERNAL_UNIQUE_SMALL_NAME1(.absl.__COUNTER__))
| ^
In file included from s2/s2cell_union.cc:18:
In file included from ../src/s2/s2cell_union.h:27:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2centroids.cc -o s2/s2centroids.o
In file included from s2/s2cell.cc:18:
In file included from ../src/s2/s2cell.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2cell.cc:18:
In file included from ../src/s2/s2cell.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2closest_cell_query.cc -o s2/s2closest_cell_query.o
In file included from s2/s2cell.cc:18:
In file included from ../src/s2/s2cell.h:25:
In file included from ../src/s2/util/coding/coder.h:33:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
19 warnings generated.
In file included from s2/s2cell.cc:18:
In file included from ../src/s2/s2cell.h:28:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2cell.cc:18:
In file included from ../src/s2/s2cell.h:28:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2cell.cc:18:
In file included from ../src/s2/s2cell.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2closest_edge_query.cc -o s2/s2closest_edge_query.o
In file included from s2/s2centroids.cc:18:
In file included from ../src/s2/s2centroids.h:50:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2centroids.cc:18:
In file included from ../src/s2/s2centroids.h:50:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2centroids.cc:18:
In file included from ../src/s2/s2centroids.h:50:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2cell.cc:18:
In file included from ../src/s2/s2cell.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2closest_cell_query.cc:18:
In file included from ../src/s2/s2closest_cell_query.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2closest_cell_query.cc:18:
In file included from ../src/s2/s2closest_cell_query.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
13 warnings generated.
In file included from s2/s2centroids.cc:18:
In file included from ../src/s2/s2centroids.h:50:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2centroids.cc:18:
In file included from ../src/s2/s2centroids.h:50:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2centroids.cc:18:
In file included from ../src/s2/s2centroids.h:50:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2closest_cell_query.cc:18:
In file included from ../src/s2/s2closest_cell_query.h:26:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2closest_edge_query.cc:18:
In file included from ../src/s2/s2closest_edge_query.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2closest_edge_query.cc:18:
In file included from ../src/s2/s2closest_edge_query.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2centroids.cc:18:
In file included from ../src/s2/s2centroids.h:50:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
13 warnings generated.
In file included from s2/s2closest_edge_query.cc:18:
In file included from ../src/s2/s2closest_edge_query.h:30:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2closest_cell_query.cc:18:
In file included from ../src/s2/s2closest_cell_query.h:26:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2closest_cell_query.cc:18:
In file included from ../src/s2/s2closest_cell_query.h:26:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2closest_cell_query.cc:18:
In file included from ../src/s2/s2closest_cell_query.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2closest_edge_query.cc:18:
In file included from ../src/s2/s2closest_edge_query.h:30:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2closest_edge_query.cc:18:
In file included from ../src/s2/s2closest_edge_query.h:30:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2closest_edge_query.cc:18:
In file included from ../src/s2/s2closest_edge_query.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2closest_edge_query.cc:18:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2closest_edge_query.cc:18:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2closest_edge_query.cc:18:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2closest_edge_query.cc:18:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2closest_edge_query.cc:18:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2closest_point_query.cc -o s2/s2closest_point_query.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2contains_vertex_query.cc -o s2/s2contains_vertex_query.o
In file included from s2/s2closest_cell_query.cc:18:
In file included from ../src/s2/s2closest_cell_query.h:32:
In file included from ../src/s2/s2closest_cell_query_base.h:33:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2closest_cell_query.cc:18:
In file included from ../src/s2/s2closest_cell_query.h:32:
In file included from ../src/s2/s2closest_cell_query_base.h:33:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2closest_cell_query.cc:18:
In file included from ../src/s2/s2closest_cell_query.h:32:
In file included from ../src/s2/s2closest_cell_query_base.h:33:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2closest_cell_query.cc:18:
In file included from ../src/s2/s2closest_cell_query.h:32:
In file included from ../src/s2/s2closest_cell_query_base.h:33:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2closest_cell_query.cc:18:
In file included from ../src/s2/s2closest_cell_query.h:32:
In file included from ../src/s2/s2closest_cell_query_base.h:33:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2closest_edge_query.cc:18:
In file included from ../src/s2/s2closest_edge_query.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<const S2ShapeIndexCell *>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<const S2ShapeIndexCell *>, std::is_same<std::allocator<const S2ShapeIndexCell *>, std::allocator<const S2ShapeIndexCell *>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<const S2ShapeIndexCell *, 6, std::allocator<const S2ShapeIndexCell *>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
../src/s2/s2closest_edge_query_base.h:319:51: note: in instantiation of template class 'absl::InlinedVector<const S2ShapeIndexCell *, 6>' requested here
319 | absl::InlinedVector<const S2ShapeIndexCell*, 6> index_cells_;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2convex_hull_query.cc -o s2/s2convex_hull_query.o
In file included from s2/s2closest_edge_query.cc:18:
In file included from ../src/s2/s2closest_edge_query.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::is_same<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_edge_query_base.h:404:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
404 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/s2/s2closest_edge_query.h:136:18: note: in instantiation of template class 'S2ClosestEdgeQueryBase<S2MinDistance>' requested here
136 | using Result = Base::Result;
| ^
In file included from s2/s2closest_cell_query.cc:18:
In file included from ../src/s2/s2closest_cell_query.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestCellQueryBase<S2MinDistance>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestCellQueryBase<S2MinDistance>::QueueEntry>, std::is_same<std::allocator<S2ClosestCellQueryBase<S2MinDistance>::QueueEntry>, std::allocator<S2ClosestCellQueryBase<S2MinDistance>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestCellQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestCellQueryBase<S2MinDistance>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestCellQueryBase<S2MinDistance>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_cell_query_base.h:362:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
362 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/s2/s2closest_cell_query.h:110:18: note: in instantiation of template class 'S2ClosestCellQueryBase<S2MinDistance>' requested here
110 | using Result = Base::Result;
| ^
In file included from s2/s2closest_edge_query.cc:18:
In file included from ../src/s2/s2closest_edge_query.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2closest_edge_query.cc:18:
In file included from ../src/s2/s2closest_edge_query.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<s2shapeutil::ShapeEdgeId>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3712:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize_impl' requested here
3712 | raw_hash_set::resize_impl(common(), new_capacity, HashtablezInfoHandle{});
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:2664:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize' requested here
2664 | resize(NormalizeCapacity(bucket_count));
| ^
../src/s2/s2closest_edge_query_base.h:481:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::raw_hash_set' requested here
481 | : tested_edges_(/*bucket_count=*/1) {}
| ^
../src/s2/s2closest_edge_query.h:375:28: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::S2ClosestEdgeQueryBase' requested here
375 | inline S2ClosestEdgeQuery::S2ClosestEdgeQuery(const S2ShapeIndex* index,
| ^
In file included from s2/s2closest_edge_query.cc:18:
In file included from ../src/s2/s2closest_edge_query.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<int>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<int>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<int>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<int>>::transfer<std::allocator<int>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::internal_emplace<int>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:334:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::insert_unique<int, int>' requested here
334 | return this->tree_.insert_unique(params_type::key(v), std::move(v));
| ^
../src/s2/s2closest_edge_query_base.h:578:21: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>>::insert' requested here
578 | shape_ids.insert(containing_shape->id());
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
In file included from s2/s2closest_edge_query.cc:18:
In file included from ../src/s2/s2closest_edge_query.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::Result>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>::transfer<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:330:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::insert_unique<S2ClosestEdgeQueryBase<S2MinDistance>::Result, const S2ClosestEdgeQueryBase<S2MinDistance>::Result &>' requested here
330 | return this->tree_.insert_unique(params_type::key(v), v);
| ^
../src/s2/s2closest_edge_query_base.h:872:17: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>>::insert' requested here
872 | result_set_.insert(result);
| ^
../src/s2/s2closest_edge_query_base.h:582:7: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::AddResult' requested here
582 | AddResult(Result(Distance::Zero(), shape_id, -1));
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
In file included from s2/s2closest_cell_query.cc:18:
In file included from ../src/s2/s2closest_cell_query.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2closest_cell_query.cc:18:
In file included from ../src/s2/s2closest_cell_query.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2CellIndex::LabelledCell>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<S2CellIndex::LabelledCell>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3712:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<S2CellIndex::LabelledCell>, absl::hash_internal::Hash<S2CellIndex::LabelledCell>, std::equal_to<S2CellIndex::LabelledCell>, std::allocator<S2CellIndex::LabelledCell>>::resize_impl' requested here
3712 | raw_hash_set::resize_impl(common(), new_capacity, HashtablezInfoHandle{});
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:2664:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<S2CellIndex::LabelledCell>, absl::hash_internal::Hash<S2CellIndex::LabelledCell>, std::equal_to<S2CellIndex::LabelledCell>, std::allocator<S2CellIndex::LabelledCell>>::resize' requested here
2664 | resize(NormalizeCapacity(bucket_count));
| ^
../src/s2/s2closest_cell_query_base.h:443:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<S2CellIndex::LabelledCell>, absl::hash_internal::Hash<S2CellIndex::LabelledCell>, std::equal_to<S2CellIndex::LabelledCell>, std::allocator<S2CellIndex::LabelledCell>>::raw_hash_set' requested here
443 | : tested_cells_(/*bucket_count=*/1) {}
| ^
../src/s2/s2closest_cell_query.h:341:28: note: in instantiation of member function 'S2ClosestCellQueryBase<S2MinDistance>::S2ClosestCellQueryBase' requested here
341 | inline S2ClosestCellQuery::S2ClosestCellQuery(const S2CellIndex* index,
| ^
In file included from s2/s2closest_cell_query.cc:18:
In file included from ../src/s2/s2closest_cell_query.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestCellQueryBase<S2MinDistance>::Result>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<S2ClosestCellQueryBase<S2MinDistance>::Result>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<S2ClosestCellQueryBase<S2MinDistance>::Result>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<S2ClosestCellQueryBase<S2MinDistance>::Result>>::transfer<std::allocator<S2ClosestCellQueryBase<S2MinDistance>::Result>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<S2ClosestCellQueryBase<S2MinDistance>::Result, std::less<S2ClosestCellQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestCellQueryBase<S2MinDistance>::Result>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
../src/s2/s2closest_cell_query_base.h:777:17: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<S2ClosestCellQueryBase<S2MinDistance>::Result, std::less<S2ClosestCellQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestCellQueryBase<S2MinDistance>::Result>, 256, false>>>::insert' requested here
777 | result_set_.insert(result);
| ^
../src/s2/s2closest_cell_query_base.h:581:5: note: in instantiation of member function 'S2ClosestCellQueryBase<S2MinDistance>::MaybeAddResult' requested here
581 | MaybeAddResult(it.cell_id(), it.label());
| ^
../src/s2/s2closest_cell_query_base.h:569:5: note: in instantiation of member function 'S2ClosestCellQueryBase<S2MinDistance>::FindClosestCellsBruteForce' requested here
569 | FindClosestCellsBruteForce();
| ^
../src/s2/s2closest_cell_query_base.h:496:3: note: in instantiation of member function 'S2ClosestCellQueryBase<S2MinDistance>::FindClosestCellsInternal' requested here
496 | FindClosestCellsInternal(target, options);
| ^
../src/s2/s2closest_cell_query.h:375:9: note: in instantiation of member function 'S2ClosestCellQueryBase<S2MinDistance>::FindClosestCells' requested here
375 | base_.FindClosestCells(target, options_, results);
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2coords.cc -o s2/s2coords.o
In file included from s2/s2closest_point_query.cc:18:
In file included from ../src/s2/s2closest_point_query.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2closest_point_query.cc:18:
In file included from ../src/s2/s2closest_point_query.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2contains_vertex_query.cc:18:
In file included from ../src/s2/s2contains_vertex_query.h:21:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:63:
In file included from /usr/local/clang/include/absl/container/internal/common.h:21:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2contains_vertex_query.cc:18:
In file included from ../src/s2/s2contains_vertex_query.h:21:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:105:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2contains_vertex_query.cc:18:
In file included from ../src/s2/s2contains_vertex_query.h:21:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
In file included from /usr/local/clang/include/absl/strings/numbers.h:48:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2contains_vertex_query.cc:18:
In file included from ../src/s2/s2contains_vertex_query.h:21:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2contains_vertex_query.cc:18:
In file included from ../src/s2/s2contains_vertex_query.h:21:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2contains_vertex_query.cc:18:
In file included from ../src/s2/s2contains_vertex_query.h:21:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2contains_vertex_query.cc:18:
In file included from ../src/s2/s2contains_vertex_query.h:21:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2contains_vertex_query.cc:18:
In file included from ../src/s2/s2contains_vertex_query.h:21:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2closest_point_query.cc:18:
In file included from ../src/s2/s2closest_point_query.h:26:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
23 warnings generated.
In file included from s2/s2convex_hull_query.cc:26:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2convex_hull_query.cc:26:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2crossing_edge_query.cc -o s2/s2crossing_edge_query.o
21 warnings generated.
In file included from s2/s2contains_vertex_query.cc:18:
In file included from ../src/s2/s2contains_vertex_query.h:21:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2contains_vertex_query.cc:18:
In file included from ../src/s2/s2contains_vertex_query.h:21:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2contains_vertex_query.cc:18:
In file included from ../src/s2/s2contains_vertex_query.h:21:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:63:
In file included from /usr/local/clang/include/absl/container/internal/common.h:21:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2debug.cc -o s2/s2debug.o
In file included from s2/s2closest_point_query.cc:18:
In file included from ../src/s2/s2closest_point_query.h:26:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2closest_point_query.cc:18:
In file included from ../src/s2/s2closest_point_query.h:26:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2closest_point_query.cc:18:
In file included from ../src/s2/s2closest_point_query.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2convex_hull_query.cc:26:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:28:
In file included from ../src/s2/util/coding/coder.h:33:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2closest_point_query.cc:18:
In file included from ../src/s2/s2closest_point_query.h:29:
In file included from ../src/s2/s2closest_point_query_base.h:39:
In file included from ../src/s2/s2point_index.h:27:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2closest_point_query.cc:18:
In file included from ../src/s2/s2closest_point_query.h:29:
In file included from ../src/s2/s2closest_point_query_base.h:39:
In file included from ../src/s2/s2point_index.h:27:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2closest_point_query.cc:18:
In file included from ../src/s2/s2closest_point_query.h:29:
In file included from ../src/s2/s2closest_point_query_base.h:39:
In file included from ../src/s2/s2point_index.h:27:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2closest_point_query.cc:18:
In file included from ../src/s2/s2closest_point_query.h:29:
In file included from ../src/s2/s2closest_point_query_base.h:39:
In file included from ../src/s2/s2point_index.h:27:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2closest_point_query.cc:18:
In file included from ../src/s2/s2closest_point_query.h:29:
In file included from ../src/s2/s2closest_point_query_base.h:39:
In file included from ../src/s2/s2point_index.h:27:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2coords.cc:18:
In file included from ../src/s2/s2coords.h:105:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2coords.cc:18:
In file included from ../src/s2/s2coords.h:105:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2convex_hull_query.cc:26:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:30:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2convex_hull_query.cc:26:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:30:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2convex_hull_query.cc:26:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2earth.cc -o s2/s2earth.o
In file included from s2/s2closest_point_query.cc:18:
In file included from ../src/s2/s2closest_point_query.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2edge_clipping.cc -o s2/s2edge_clipping.o
In file included from s2/s2convex_hull_query.cc:26:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2convex_hull_query.cc:26:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2convex_hull_query.cc:26:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2convex_hull_query.cc:26:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2convex_hull_query.cc:26:
In file included from ../src/s2/s2convex_hull_query.h:27:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2crossing_edge_query.cc:18:
In file included from ../src/s2/s2crossing_edge_query.h:27:
In file included from /usr/local/clang/include/absl/container/inlined_vector.h:54:
In file included from /usr/local/clang/include/absl/container/internal/inlined_vector.h:32:
In file included from /usr/local/clang/include/absl/container/internal/compressed_tuple.h:40:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2crossing_edge_query.cc:18:
In file included from ../src/s2/s2crossing_edge_query.h:27:
In file included from /usr/local/clang/include/absl/container/inlined_vector.h:54:
In file included from /usr/local/clang/include/absl/container/internal/inlined_vector.h:35:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2contains_vertex_query.cc:18:
In file included from ../src/s2/s2contains_vertex_query.h:21:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:63:
In file included from /usr/local/clang/include/absl/container/internal/common.h:21:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2coords.cc:18:
In file included from ../src/s2/s2coords.h:108:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2contains_vertex_query.cc:18:
In file included from ../src/s2/s2contains_vertex_query.h:21:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:63:
In file included from /usr/local/clang/include/absl/container/internal/common.h:21:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<std::pair<const S2Point, int>>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<std::pair<const S2Point, int>>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~18
warnings generated.
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<std::pair<const S2Point, int>>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::map_slot_policy<S2Point, int>>::transfer<std::allocator<std::pair<const S2Point, int>>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::map_params<S2Point, int, std::less<S2Point>, std::allocator<std::pair<const S2Point, int>>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<S2Point, int, std::less<S2Point>, std::allocator<std::pair<const S2Point, int>>, 256, false>>::internal_emplace<const std::piecewise_construct_t &, std::tuple<const S2Point &>, std::tuple<>>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:584:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<S2Point, int, std::less<S2Point>, std::allocator<std::pair<const S2Point, int>>, 256, false>>::insert_unique<S2Point, const std::piecewise_construct_t &, std::tuple<const S2Point &>, std::tuple<>>' requested here
584 | return this->tree_.insert_unique(
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:517:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<S2Point, int, std::less<S2Point>, std::allocator<std::pair<const S2Point, int>>, 256, false>>>::try_emplace_impl<const S2Point &>' requested here
517 | return try_emplace_impl(k, std::forward<Args>(args)...);
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:540:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<S2Point, int, std::less<S2Point>, std::allocator<std::pair<const S2Point, int>>, 256, false>>>::try_emplace<S2Point, 0>' requested here
540 | return try_emplace(k).first->second;
| ^
../src/s2/s2contains_vertex_query.h:63:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<S2Point, int, std::less<S2Point>, std::allocator<std::pair<const S2Point, int>>, 256, false>>>::operator[]<S2Point>' requested here
63 | edge_map_[v] += direction;
| ^
19 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2edge_crosser.cc -o s2/s2edge_crosser.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2edge_crossings.cc -o s2/s2edge_crossings.o
In file included from s2/s2debug.cc:18:
In file included from ../src/s2/s2debug.h:55:
In file included from ../src/s2/base/commandlineflags.h:21:
In file included from /usr/local/clang/include/absl/flags/flag.h:39:
In file included from /usr/local/clang/include/absl/flags/commandlineflag.h:35:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2debug.cc:18:
In file included from ../src/s2/s2debug.h:55:
In file included from ../src/s2/base/commandlineflags.h:21:
In file included from /usr/local/clang/include/absl/flags/flag.h:39:
In file included from /usr/local/clang/include/absl/flags/commandlineflag.h:35:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2coords.cc:18:
In file included from ../src/s2/s2coords.h:108:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2coords.cc:18:
In file included from ../src/s2/s2coords.h:108:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2coords.cc:18:
In file included from ../src/s2/s2coords.h:105:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2debug.cc:18:
In file included from ../src/s2/s2debug.h:55:
In file included from ../src/s2/base/commandlineflags.h:21:
In file included from /usr/local/clang/include/absl/flags/flag.h:41:
In file included from /usr/local/clang/include/absl/flags/internal/flag.h:40:
In file included from /usr/local/clang/include/absl/flags/marshalling.h:203:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2crossing_edge_query.cc:18:
In file included from ../src/s2/s2crossing_edge_query.h:31:
In file included from ../src/s2/s2padded_cell.h:23:
In file included from ../src/s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2earth.cc:16:
In file included from ../src/s2/s2earth.h:24:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2edge_distances.cc -o s2/s2edge_distances.o
s2/s2debug.cc:23:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
23 | S2_DEFINE_bool(s2debug, !!google::DEBUG_MODE,
| ^
../src/s2/base/commandlineflags.h:27:3: note: expanded from macro 'S2_DEFINE_bool'
27 | ABSL_FLAG(bool, name, default_value, description)
| ^
/usr/local/clang/include/absl/flags/flag.h:169:3: note: expanded from macro 'ABSL_FLAG'
169 | ABSL_FLAG_IMPL(Type, name, default_value, help)
| ^
/usr/local/clang/include/absl/flags/flag.h:270:3: note: expanded from macro 'ABSL_FLAG_IMPL'
270 | ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER(name, help) \
| ^
/usr/local/clang/include/absl/flags/flag.h:248:44: note: expanded from macro 'ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER'
248 | constexpr auto FLAGS_help_storage_##name ABSL_INTERNAL_UNIQUE_SMALL_NAME() \
| ^
/usr/local/clang/include/absl/base/optimization.h:307:46: note: expanded from macro 'ABSL_INTERNAL_UNIQUE_SMALL_NAME'
307 | asm(ABSL_INTERNAL_UNIQUE_SMALL_NAME1(.absl.__COUNTER__))
| ^
In file included from s2/s2earth.cc:16:
In file included from ../src/s2/s2earth.h:24:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2earth.cc:16:
In file included from ../src/s2/s2earth.h:24:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
6 warnings generated.
In file included from s2/s2crossing_edge_query.cc:18:
In file included from ../src/s2/s2crossing_edge_query.h:31:
In file included from ../src/s2/s2padded_cell.h:23:
In file included from ../src/s2/s2cell_id.h:43:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2crossing_edge_query.cc:18:
In file included from ../src/s2/s2crossing_edge_query.h:31:
In file included from ../src/s2/s2padded_cell.h:23:
In file included from ../src/s2/s2cell_id.h:43:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2crossing_edge_query.cc:18:
In file included from ../src/s2/s2crossing_edge_query.h:27:
In file included from /usr/local/clang/include/absl/container/inlined_vector.h:54:
In file included from /usr/local/clang/include/absl/container/internal/inlined_vector.h:32:
In file included from /usr/local/clang/include/absl/container/internal/compressed_tuple.h:40:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2edge_tessellator.cc -o s2/s2edge_tessellator.o
In file included from s2/s2coords.cc:18:
In file included from ../src/s2/s2coords.h:105:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2error.cc -o s2/s2error.o
13 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2furthest_edge_query.cc -o s2/s2furthest_edge_query.o
In file included from s2/s2convex_hull_query.cc:26:
In file included from ../src/s2/s2convex_hull_query.h:25:
In file included from ../src/s2/s2cap.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2edge_crossings.cc:18:
In file included from ../src/s2/s2edge_crossings.h:34:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2edge_crossings.cc:18:
In file included from ../src/s2/s2edge_crossings.h:34:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2earth.cc:16:
In file included from ../src/s2/s2earth.h:24:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2earth.cc:16:
In file included from ../src/s2/s2earth.h:24:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2earth.cc:16:
In file included from ../src/s2/s2earth.h:24:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2crossing_edge_query.cc:18:
In file included from ../src/s2/s2crossing_edge_query.h:27:
In file included from /usr/local/clang/include/absl/container/inlined_vector.h:54:
In file included from /usr/local/clang/include/absl/container/internal/inlined_vector.h:32:
In file included from /usr/local/clang/include/absl/container/internal/compressed_tuple.h:40:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2::FaceSegment>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2::FaceSegment>, std::is_same<std::allocator<S2::FaceSegment>, std::allocator<S2::FaceSegment>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2::FaceSegment, 6, std::allocator<S2::FaceSegment>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
s2/s2crossing_edge_query.cc:207:25: note: in instantiation of template class 'absl::InlinedVector<S2::FaceSegment, 6>' requested here
207 | S2::FaceSegmentVector segments;
| ^
In file included from s2/s2crossing_edge_query.cc:18:
In file included from ../src/s2/s2crossing_edge_query.h:27:
In file included from /usr/local/clang/include/absl/container/inlined_vector.h:54:
In file included from /usr/local/clang/include/absl/container/internal/inlined_vector.h:32:
In file included from /usr/local/clang/include/absl/container/internal/compressed_tuple.h:40:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2edge_clipping.cc:18:
In file included from ../src/s2/s2edge_clipping.h:34:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2edge_clipping.cc:18:
In file included from ../src/s2/s2edge_clipping.h:34:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2earth.cc:16:
In file included from ../src/s2/s2earth.h:24:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2edge_crossings.cc:18:
In file included from ../src/s2/s2edge_crossings.h:40:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
13 warnings generated.
In file included from s2/s2edge_crosser.cc:18:
In file included from ../src/s2/s2edge_crosser.h:21:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2edge_crosser.cc:18:
In file included from ../src/s2/s2edge_crosser.h:21:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2hausdorff_distance_query.cc -o s2/s2hausdorff_distance_query.o
In file included from s2/s2edge_crossings.cc:18:
In file included from ../src/s2/s2edge_crossings.h:40:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2edge_crossings.cc:18:
In file included from ../src/s2/s2edge_crossings.h:40:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2edge_crossings.cc:18:
In file included from ../src/s2/s2edge_crossings.h:34:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
18 warnings generated.
In file included from s2/s2edge_distances.cc:18:
In file included from ../src/s2/s2edge_distances.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2edge_distances.cc:18:
In file included from ../src/s2/s2edge_distances.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2latlng_rect_bounder.cc -o s2/s2latlng_rect_bounder.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2latlng_rect.cc -o s2/s2latlng_rect.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2latlng.cc -o s2/s2latlng.o
In file included from s2/s2error.cc:16:
In file included from ../src/s2/s2error.h:29:
In file included from /usr/local/clang/include/absl/status/status.h:63:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2error.cc:16:
In file included from ../src/s2/s2error.h:29:
In file included from /usr/local/clang/include/absl/status/status.h:63:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2edge_crosser.cc:18:
In file included from ../src/s2/s2edge_crosser.h:23:
In file included from ../src/s2/s2edge_crossings.h:40:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2error.cc:16:
In file included from ../src/s2/s2error.h:29:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:83:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/arg.h:35:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2error.cc:16:
In file included from ../src/s2/s2error.h:29:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2edge_tessellator.cc:18:
In file included from ../src/s2/s2edge_tessellator.h:23:
In file included from ../src/s2/r2.h:22:
In file included from ../src/s2/util/math/vector.h:35:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2error.cc:16:
In file included from ../src/s2/s2error.h:29:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<ArgIn file included from ss2/s2edge_tessellator.cc.:.18.:
>In file included from (../src/s2/s2edge_tessellator.hs:)23,:
In file included from "../src/s2/r2.hb:a22d:
In file included from f../src/s2/util/math/vector.ho:r35m:
aIn file included from t../src/s2/base/logging.h :t21r:
aIn file included from p/usr/local/clang/include/absl/log/check.h":)37):
)In file included from
/usr/local/clang/include/absl/log/internal/check_impl.h :| 19 ^:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2error.cc:16:
In file included from ../src/s2/s2error.h:29:
In file included from /usr/local/clang/include/absl/status/status.h:63:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2furthest_edge_query.cc:16:
In file included from ../src/s2/s2furthest_edge_query.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2furthest_edge_query.cc:16:
In file included from ../src/s2/s2furthest_edge_query.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2edge_clipping.cc:18:
In file included from ../src/s2/s2edge_clipping.h:39:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2edge_crosser.cc:18:
In file included from ../src/s2/s2edge_crosser.h:23:
In file included from ../src/s2/s2edge_crossings.h:40:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2edge_crosser.cc:18:
In file included from ../src/s2/s2edge_crosser.h:23:
In file included from ../src/s2/s2edge_crossings.h:40:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
In file included from s2/s2edge_crossings.cc:18:
In file included from ../src/s2/s2edge_crossings.h:34:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2edge_crosser.cc:18:
In file included from ../src/s2/s2edge_crosser.h:21:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2edge_distances.cc:18:
In file included from ../src/s2/s2edge_distances.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2error.cc:22:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2error.cc:22:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2error.cc:22:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2error.cc:22:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2error.cc:22:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
14 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2lax_loop_shape.cc -o s2/s2lax_loop_shape.o
In file included from s2/s2edge_clipping.cc:18:
In file included from ../src/s2/s2edge_clipping.h:39:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2edge_clipping.cc:18:
In file included from ../src/s2/s2edge_clipping.h:39:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2edge_clipping.cc:18:
In file included from ../src/s2/s2edge_clipping.h:34:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
13 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2lax_polygon_shape.cc -o s2/s2lax_polygon_shape.o
In file included from s2/s2edge_tessellator.cc:18:
In file included from ../src/s2/s2edge_tessellator.h:24:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2error.cc:16:
In file included from ../src/s2/s2error.h:29:
In file included from /usr/local/clang/include/absl/status/status.h:63:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2furthest_edge_query.cc:16:
In file included from ../src/s2/s2furthest_edge_query.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2edge_distances.cc:18:
In file included from ../src/s2/s2edge_distances.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2edge_distances.cc:18:
In file included from ../src/s2/s2edge_distances.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2edge_distances.cc:18:
In file included from ../src/s2/s2edge_distances.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2hausdorff_distance_query.cc:16:
In file included from ../src/s2/s2hausdorff_distance_query.h:22:
In file included from /usr/local/clang/include/absl/types/optional.h:39:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2edge_clipping.cc:18:
In file included from ../src/s2/s2edge_clipping.h:34:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2::FaceSegment>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2::FaceSegment>, std::is_same<std::allocator<S2::FaceSegment>, std::allocator<S2::FaceSegment>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2::FaceSegment, 6, std::allocator<S2::FaceSegment>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
s2/s2edge_clipping.cc:209:11: note: in instantiation of template class 'absl::InlinedVector<S2::FaceSegment, 6>' requested here
209 | segments->clear();
| ^
In file included from s2/s2edge_tessellator.cc:18:
In file included from ../src/s2/s2edge_tessellator.h:24:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2edge_tessellator.cc:18:
In file included from ../src/s2/s2edge_tessellator.h:24:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2edge_tessellator.cc:18:
In file included from ../src/s2/s2edge_tessellator.h:23:
In file included from ../src/s2/r2.h:22:
In file included from ../src/s2/util/math/vector.h:35:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
18 warnings generated.
In file included from s2/s2furthest_edge_query.cc:16:
In file included from ../src/s2/s2furthest_edge_query.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2furthest_edge_query.cc:16:
In file included from ../src/s2/s2furthest_edge_query.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2furthest_edge_query.cc:16:
In file included from ../src/s2/s2furthest_edge_query.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.hclang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2lax_polyline_shape.cc -o s2/s2lax_polyline_shape.o
:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2edge_crosser.cc:18:
In file included from ../src/s2/s2edge_crosser.h:21:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2hausdorff_distance_query.cc:16:
In file included from ../src/s2/s2hausdorff_distance_query.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2hausdorff_distance_query.cc:16:
In file included from ../src/s2/s2hausdorff_distance_query.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2latlng_rect_bounder.cc:18:
In file included from ../src/s2/s2latlng_rect_bounder.h:21:
In file included from ../src/s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2furthest_edge_query.cc:16:
In file included from ../src/s2/s2furthest_edge_query.h:33:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2furthest_edge_query.cc:16:
In file included from ../src/s2/s2furthest_edge_query.h:33:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2furthest_edge_query.cc:16:
In file included from ../src/s2/s2furthest_edge_query.h:33:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2furthest_edge_query.cc:16:
In file included from ../src/s2/s2furthest_edge_query.h:33:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2furthest_edge_query.cc:16:
In file included from ../src/s2/s2furthest_edge_query.h:33:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2edge_clipping.cc:18:
In file included from ../src/s2/s2edge_clipping.h:34:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2latlng_rect_bounder.cc:18:
In file included from ../src/s2/s2latlng_rect_bounder.h:21:
In file included from ../src/s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2latlng_rect_bounder.cc:18:
In file included from ../src/s2/s2latlng_rect_bounder.h:21:
In file included from ../src/s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
13 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2loop_measures.cc -o s2/s2loop_measures.o
In file included from s2/s2latlng.cc:18:
In file included from ../src/s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2edge_tessellator.cc:18:
In file included from ../src/s2/s2edge_tessellator.h:23:
In file included from ../src/s2/r2.h:22:
In file included from ../src/s2/util/math/vector.h:35:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizIn file included from es2/s2edge_distances.cco:f18(:
_In file included from T../src/s2/s2edge_distances.hp:)27 :
>In file included from =../src/s2/base/logging.h :021,:
In file included from "/usr/local/clang/include/absl/log/check.hc:a37n:
nIn file included from o/usr/local/clang/include/absl/log/internal/check_impl.ht: 19d:
eIn file included from l/usr/local/clang/include/absl/log/internal/check_op.he:t35e:
In file included from a/usr/local/clang/include/absl/base/casts.hn: 38i:
n/usr/local/clang/include/absl/meta/type_traits.hc:o527m:p22l:e twarning: ebuiltin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
type");
527 | | ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h : 288 : 7 : note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
(__i s288_ | t r i v i a l_l_yd_erleeltoecra_t(a_b_ltem(pT));
& &|
^
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:/usr/local/clang/include/absl/meta/type_traits.h71::147 :note: 24in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here:
note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
254 | 147 | _ L I B C:P Ps_tHdI:D:Ec_oFnRdOiMt_iAoBnIa l_<LTI:B:CvPaPl_uCeO,N ScToEnXjPuRn_cStIiNoCnE<_TCsX.X.2.3> ,~ uTn>i:q:utey_ppet r{(});
{ | r ^e
set(); }
| /usr/local/clang/include/absl/container/internal/inlined_vector.h ^:
324:7: note: /usr/local/clang/include/absl/status/internal/status_internal.hin instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here:
68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here324
| 68a | b s lS:t:actounsjRuenpc(taibosnl<:a:bSstla:t:uissC_otdrei vcioadlel_ya_rrge,l oacbastla:b:lset<rVianlgu_eTvyipeew< Am>e>s,s
a g| e ^_
arg,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2furthest_edge_query.cc:16:
In file included from ../src/s2/s2furthest_edge_query.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<const S2ShapeIndexCell *>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<const S2ShapeIndexCell *>, std::is_same<std::allocator<const S2ShapeIndexCell *>, std::allocator<const S2ShapeIndexCell *>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<const S2ShapeIndexCell *, 6, std::allocator<const S2ShapeIndexCell *>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
../src/s2/s2closest_edge_query_base.h:319:51: note: in instantiation of template class 'absl::InlinedVector<const S2ShapeIndexCell *, 6>' requested here
319 | absl::InlinedVector<const S2ShapeIndexCell*, 6> index_cells_;
| ^
In file included from s2/s2lax_loop_shape.cc:18:
In file included from ../src/s2/s2lax_loop_shape.h:40:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2lax_loop_shape.cc:18:
In file included from ../src/s2/s2lax_loop_shape.h:40:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2hausdorff_distance_query.cc:16:
In file included from ../src/s2/s2hausdorff_distance_query.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2hausdorff_distance_query.cc:16:
In file included from ../src/s2/s2hausdorff_distance_query.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2hausdorff_distance_query.cc:16:
In file included from ../src/s2/s2hausdorff_distance_query.h:22:
In file included from /usr/local/clang/include/absl/types/optional.h:39:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
14 warnings generated.
In file included from s2/s2lax_polygon_shape.cc:18:
In file included from ../src/s2/s2lax_polygon_shape.h:27:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2lax_polygon_shape.cc:18:
In file included from ../src/s2/s2lax_polygon_shape.h:27:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2latlng.cc:18:
In file included from ../src/s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2furthest_edge_query.cc:16:
In file included from ../src/s2/s2furthest_edge_query.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>, std::is_same<std::allocator<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>, std::allocator<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_edge_query_base.h:404:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
404 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/s2/s2furthest_edge_query.h:128:26: note: in instantiation of template class 'S2ClosestEdgeQueryBase<S2MaxDistance>' requested here
128 | class Options : public Base::Options {
| ^
In file included from s2/s2latlng.cc:18:
In file included from ../src/s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
13 warnings generated.
In file included from s2/s2latlng_rect.cc:18:
In file included from ../src/s2/s2latlng_rect.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2latlng_rect.cc:18:
In file included from ../src/s2/s2latlng_rect.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2furthest_edge_query.cc:16:
In file included from ../src/s2/s2furthest_edge_query.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2latlng_rect_bounder.cc:18:
In file included from ../src/s2/s2latlng_rect_bounder.h:21:
In file included from ../src/s2/s2latlng.h:32:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
13 warnings generated.
In file included from s2/s2latlng_rect_bounder.cc:18:
In file included from ../src/s2/s2latlng_rect_bounder.h:21:
In file included from ../src/s2/s2latlng.h:32:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2latlng_rect_bounder.cc:18:
In file included from ../src/s2/s2latlng_rect_bounder.h:21:
In file included from ../src/s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2loop.cc -o s2/s2loop.o
In file included from s2/s2furthest_edge_query.cc:16:
In file included from ../src/s2/s2furthest_edge_query.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<s2shapeutil::ShapeEdgeId>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3712:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize_impl' requested here
3712 | raw_hash_set::resize_impl(common(), new_capacity, HashtablezInfoHandle{});
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:2664:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize' requested here
2664 | resize(NormalizeCapacity(bucket_count));
| ^
../src/s2/s2closest_edge_query_base.h:481:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::raw_hash_set' requested here
481 | : tested_edges_(/*bucket_count=*/1) {}
| ^
../src/s2/s2furthest_edge_query.h:424:29: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MaxDistance>::S2ClosestEdgeQueryBase' requested here
424 | inline S2FurthestEdgeQuery::S2FurthestEdgeQuery(const S2ShapeIndex* index,
| ^
In file included from s2/s2lax_loop_shape.cc:18:
In file included from ../src/s2/s2lax_loop_shape.h:41:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
In file included from /usr/local/clang/include/absl/strings/numbers.h:48:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2lax_polygon_shape.cc:18:
In file included from ../src/s2/s2lax_polygon_shape.h:31:
In file included from ../src/s2/encoded_s2point_vector.h:27:
In file included from ../src/s2/encoded_string_vector.h:30:
In file included from ../src/s2/util/coding/coder.h:33:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2lax_loop_shape.cc:18:
In file included from ../src/s2/s2lax_loop_shape.h:41:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2lax_loop_shape.cc:18:
In file included from ../src/s2/s2lax_loop_shape.h:41:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2lax_loop_shape.cc:18:
In file included from ../src/s2/s2lax_loop_shape.h:41:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2lax_loop_shape.cc:18:
In file included from ../src/s2/s2lax_loop_shape.h:41:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2lax_loop_shape.cc:18:
In file included from ../src/s2/s2lax_loop_shape.h:41:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2furthest_edge_query.cc:16:
In file included from ../src/s2/s2furthest_edge_query.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<int>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<int>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<int>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<int>>::transfer<std::allocator<int>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:334:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::insert_unique<int, int>' requested here
334 | return this->tree_.insert_unique(params_type::key(v), std::move(v));
| ^
../src/s2/s2closest_edge_query_base.h:578:21: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>>::insert' requested here
578 | shape_ids.insert(containing_shape->id());
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MaxDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query_base.h:520:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MaxDistance>::FindClosestEdges' requested here
520 | FindClosestEdges(target, options, &results);
| ^
s2/s2furthest_edge_query.cc:80:28: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MaxDistance>::FindClosestEdges' requested here
80 | for (auto result : base_.FindClosestEdges(target, options_)) {
| ^
In file included from s2/s2furthest_edge_query.cc:16:
In file included from ../src/s2/s2furthest_edge_query.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MaxDistance>::Result>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<S2ClosestEdgeQueryBase<S2MaxDistance>::Result>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<S2ClosestEdgeQueryBase<S2MaxDistance>::Result>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<S2ClosestEdgeQueryBase<S2MaxDistance>::Result>>::transfer<std::allocator<S2ClosestEdgeQueryBase<S2MaxDistance>::Result>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MaxDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MaxDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MaxDistance>::Result>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
../src/s2/s2closest_edge_query_base.h:872:17: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MaxDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MaxDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MaxDistance>::Result>, 256, false>>>::insert' requested here
872 | result_set_.insert(result);
| ^
../src/s2/s2closest_edge_query_base.h:582:7: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MaxDistance>::AddResult' requested here
582 | AddResult(Result(Distance::Zero(), shape_id, -1));
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MaxDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query_base.h:520:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MaxDistance>::FindClosestEdges' requested here
520 | FindClosestEdges(target, options, &results);
| ^
s2/s2furthest_edge_query.cc:80:28: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MaxDistance>::FindClosestEdges' requested here
80 | for (auto result : base_.FindClosestEdges(target, options_)) {
| ^
In file included from s2/s2latlng_rect.cc:18:
In file included from ../src/s2/s2latlng_rect.h:27:
In file included from ../src/s2/util/coding/coder.h:33:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2lax_loop_shape.cc:18:
In file included from ../src/s2/s2lax_loop_shape.h:41:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2lax_loop_shape.cc:18:
In file included from ../src/s2/s2lax_loop_shape.h:41:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2lax_loop_shape.cc:18:
In file included from ../src/s2/s2lax_loop_shape.h:40:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2lax_polygon_shape.cc:18:
In file included from ../src/s2/s2lax_polygon_shape.h:31:
In file included from ../src/s2/encoded_s2point_vector.h:29:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2lax_polygon_shape.cc:18:
In file included from ../src/s2/s2lax_polygon_shape.h:31:
In file included from ../src/s2/encoded_s2point_vector.h:29:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2lax_polygon_shape.cc:18:
In file included from ../src/s2/s2lax_polygon_shape.h:27:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2max_distance_targets.cc -o s2/s2max_distance_targets.o
In file included from s2/s2hausdorff_distance_query.cc:20:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2hausdorff_distance_query.cc:20:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2hausdorff_distance_query.cc:20:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2hausdorff_distance_query.cc:20:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2hausdorff_distance_query.cc:20:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2hausdorff_distance_query.cc:16:
In file included from ../src/s2/s2hausdorff_distance_query.h:22:
In file included from /usr/local/clang/include/absl/types/optional.h:39:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<const S2ShapeIndexCell *>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<const S2ShapeIndexCell *>, std::is_same<std::allocator<const S2ShapeIndexCell *>, std::allocator<const S2ShapeIndexCell *>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<const S2ShapeIndexCell *, 6, std::allocator<const S2ShapeIndexCell *>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
../src/s2/s2closest_edge_query_base.h:319:51: note: in instantiation of template class 'absl::InlinedVector<const S2ShapeIndexCell *, 6>' requested here
319 | absl::InlinedVector<const S2ShapeIndexCell*, 6> index_cells_;
| ^
In file included from s2/s2latlng.cc:18:
In file included from ../src/s2/s2latlng.h:32:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2latlng.cc:18:
In file included from ../src/s2/s2latlng.h:32:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2hausdorff_distance_query.cc:16:
In file included from ../src/s2/s2hausdorff_distance_query.h:22:
In file included from /usr/local/clang/include/absl/types/optional.h:39:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::is_same<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_edge_query_base.h:404:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
404 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/s2/s2closest_edge_query.h:136:18: note: in instantiation of template class 'S2ClosestEdgeQueryBase<S2MinDistance>' requested here
136 | using Result = Base::Result;
| ^
In file included from s2/s2latlng.cc:18:
In file included from ../src/s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2latlng_rect_bounder.cc:18:
In file included from ../src/s2/s2latlng_rect_bounder.h:21:
In file included from ../src/s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2measures.cc -o s2/s2measures.o
13 warnings generated.
In file included from s2/s2lax_polyline_shape.cc:18:
In file included from ../src/s2/s2lax_polyline_shape.h:26:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2lax_polyline_shape.cc:18:
In file included from ../src/s2/s2lax_polyline_shape.h:26:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2lax_polyline_shape.cc:18:
In file included from ../src/s2/s2lax_polyline_shape.h:27:
In file included from ../src/s2/util/coding/coder.h:33:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2hausdorff_distance_query.cc:16:
In file included from ../src/s2/s2hausdorff_distance_query.h:22:
In file included from /usr/local/clang/include/absl/types/optional.h:39:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivialclang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2memory_tracker.cc -o s2/s2memory_tracker.o
ly_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2hausdorff_distance_query.cc:16:
In file included from ../src/s2/s2hausdorff_distance_query.h:22:
In file included from /usr/local/clang/include/absl/types/optional.h:39:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<s2shapeutil::ShapeEdgeId>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3712:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize_impl' requested here
3712 | raw_hash_set::resize_impl(common(), new_capacity, HashtablezInfoHandle{});
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:2664:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize' requested here
2664 | resize(NormalizeCapacity(bucket_count));
| ^
../src/s2/s2closest_edge_query_base.h:481:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::raw_hash_set' requested here
481 | : tested_edges_(/*bucket_count=*/1) {}
| ^
../src/s2/s2closest_edge_query.h:375:28: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::S2ClosestEdgeQueryBase' requested here
375 | inline S2ClosestEdgeQuery::S2ClosestEdgeQuery(const S2ShapeIndex* index,
| ^
In file included from s2/s2hausdorff_distance_query.cc:16:
In file included from ../src/s2/s2hausdorff_distance_query.h:22:
In file included from /usr/local/clang/include/absl/types/optional.h:39:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<int>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<int>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<int>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<int>>::transfer<std::allocator<int>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::internal_emplace<int>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:334:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::insert_unique<int, int>' requested here
334 | return this->tree_.insert_unique(params_type::key(v), std::move(v));
| ^
../src/s2/s2closest_edge_query_base.h:578:21: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>>::insert' requested here
578 | shape_ids.insert(containing_shape->id());
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
In file included from s2/s2hausdorff_distance_query.cc:16:
In file included from ../src/s2/s2hausdorff_distance_query.h:22:
In file included from /usr/local/clang/include/absl/types/optional.h:39:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::Result>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>::transfer<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:330:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::insert_unique<S2ClosestEdgeQueryBase<S2MinDistance>::Result, const S2ClosestEdgeQueryBase<S2MinDistance>::Result &>' requested here
330 | return this->tree_.insert_unique(params_type::key(v), v);
| ^
../src/s2/s2closest_edge_query_base.h:872:17: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>>::insert' requested here
872 | result_set_.insert(result);
| ^
../src/s2/s2closest_edge_query_base.h:582:7: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::AddResult' requested here
582 | AddResult(Result(Distance::Zero(), shape_id, -1));
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
In file included from s2/s2latlng_rect.cc:18:
In file included from ../src/s2/s2latlng_rect.h:30:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2latlng_rect.cc:18:
In file included from ../src/s2/s2latlng_rect.h:30:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2latlng_rect.cc:18:
In file included from ../src/s2/s2latlng_rect.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2lax_polygon_shape.cc:18:
In file included from ../src/s2/s2lax_polygon_shape.h:36:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2lax_polygon_shape.cc:18:
In file included from ../src/s2/s2lax_polygon_shape.h:36:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2lax_polygon_shape.cc:18:
In file included from ../src/s2/s2lax_polygon_shape.h:36:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2lax_polygon_shape.cc:18:
In file included from ../src/s2/s2lax_polygon_shape.h:36:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2lax_polygon_shape.cc:18:
In file included from ../src/s2/s2lax_polygon_shape.h:36:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2latlng.cc:18:
In file included from ../src/s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2loop_measures.cc:18:
In file included from ../src/s2/s2loop_measures.h:33:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
13 warnings generated.
In file included from s2/s2max_distance_targets.cc:16:
In file included from ../src/s2/s2max_distance_targets.h:27:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2loop_measures.cc:18:
In file included from ../src/s2/s2loop_measures.h:33:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2metrics.cc -o s2/s2metrics.o
In file included from s2/s2lax_polyline_shape.cc:18:
In file included from ../src/s2/s2lax_polyline_shape.h:28:
In file included from ../src/s2/encoded_s2point_vector.h:29:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2lax_polyline_shape.cc:18:
In file included from ../src/s2/s2lax_polyline_shape.h:28:
In file included from ../src/s2/encoded_s2point_vector.h:29:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2loop_measures.cc:18:
In file included from ../src/s2/s2loop_measures.h:33:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2lax_polyline_shape.cc:18:
In file included from ../src/s2/s2lax_polyline_shape.h:26:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2min_distance_targets.cc -o s2/s2min_distance_targets.o
23 warnings generated.
In file included from s2/s2lax_loop_shape.cc:18:
In file included from ../src/s2/s2lax_loop_shape.h:40:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2latlng_rect.cc:18:
In file included from ../src/s2/s2latlng_rect.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2loop.cc:18:
In file included from ../src/s2/s2loop.h:29:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2loop.cc:18:
In file included from ../src/s2/s2loop.h:29:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2max_distance_targets.cc:16:
In file included from ../src/s2/s2max_distance_targets.h:27:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2lax_polygon_shape.cc:18:
In file included from ../src/s2/s2lax_polygon_shape.h:27:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2memory_tracker.cc:18:
In file included from ../src/s2/s2memory_tracker.h:27:
In file included from /usr/local/clang/include/absl/strings/str_format.h:82:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2memory_tracker.cc:18:
In file included from ../src/s2/s2memory_tracker.h:27:
In file included from /usr/local/clang/include/absl/strings/str_format.h:82:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2max_distance_targets.cc:16:
In file included from ../src/s2/s2max_distance_targets.h:27:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2measures.cc:18:
In file included from ../src/s2/s2measures.h:24:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2memory_tracker.cc:18:
In file included from ../src/s2/s2memory_tracker.h:27:
In file included from /usr/local/clang/include/absl/strings/str_format.h:83:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/arg.h:35:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2loop_measures.cc:18:
In file included from ../src/s2/s2loop_measures.h:33:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2loop_measures.cc:18:
In file included from ../src/s2/s2loop_measures.h:33:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2loop_measures.cc:18:
In file included from ../src/s2/s2loop_measures.h:33:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2padded_cell.cc -o s2/s2padded_cell.o
In file included from s2/s2memory_tracker.cc:18:
In file included from ../src/s2/s2memory_tracker.h:27:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2memory_tracker.cc:18:
In file included from ../src/s2/s2memory_tracker.h:27:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2measures.cc:18:
In file included from ../src/s2/s2measures.h:24:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2memory_tracker.cc:18:
In file included from ../src/s2/s2memory_tracker.h:27:
In file included from /usr/local/clang/include/absl/strings/str_format.h:82:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
23 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2point_compression.cc -o s2/s2point_compression.o
18 warnings generated.
In file included from s2/s2measures.cc:18:
In file included from ../src/s2/s2measures.h:24:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2point_region.cc -o s2/s2point_region.o
13 warnings generated.
In file included from s2/s2loop.cc:18:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
In file included from /usr/local/clang/include/absl/strings/numbers.h:48:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2loop.cc:18:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2loop.cc:18:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2loop.cc:18:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2loop.cc:18:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2loop.cc:18:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2lax_polyline_shape.cc:18:
In file included from ../src/s2/s2lax_polyline_shape.h:32:
In file included from ../src/s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2lax_polyline_shape.cc:18:
In file included from ../src/s2/s2lax_polyline_shape.h:32:
In file included from ../src/s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2lax_polyline_shape.cc:18:
In file included from ../src/s2/s2lax_polyline_shape.h:32:
In file included from ../src/s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2lax_polyline_shape.cc:18:
In file included from ../src/s2/s2lax_polyline_shape.h:32:
In file included from ../src/s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2lax_polyline_shape.cc:18:
In file included from ../src/s2/s2lax_polyline_shape.h:32:
In file included from ../src/s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2loop.cc:18:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2loop.cc:18:
In file included from ../src/s2/s2loop.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2loop.cc:18:
In file included from ../src/s2/s2loop.h:29:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2loop_measures.cc:18:
In file included from ../src/s2/s2loop_measures.h:33:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<int>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<int>, std::is_same<std::allocator<int>, std::allocator<int>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<int, 4, std::allocator<int>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
s2/s2loop_measures.cc:308:31: note: in instantiation of template class 'absl::InlinedVector<int, 4>' requested here
308 | absl::InlinedVector<int, 4> min_indices;
| ^
In file included from s2/s2max_distance_targets.cc:16:
In file included from ../src/s2/s2max_distance_targets.h:27:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2max_distance_targets.cc:16:
In file included from ../src/s2/s2max_distance_targets.h:27:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2max_distance_targets.cc:16:
In file included from ../src/s2/s2max_distance_targets.h:27:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
18 warnings generated.
In file included from s2/s2measures.cc:18:
In file included from ../src/s2/s2measures.h:24:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2measures.cc:18:
In file included from ../src/s2/s2measures.h:24:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2pointutil.cc -o s2/s2pointutil.o
In file included from s2/s2measures.cc:18:
In file included from ../src/s2/s2measures.h:24:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2loop_measures.cc:18:
In file included from ../src/s2/s2loop_measures.h:33:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2memory_tracker.cc:18:
In file included from ../src/s2/s2memory_tracker.h:27:
In file included from /usr/local/clang/include/absl/strings/str_format.h:82:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
13 warnings generated.
In file included from s2/s2lax_polyline_shape.cc:18:
In file included from ../src/s2/s2lax_polyline_shape.h:26:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2metrics.cc:31:
In file included from ../src/s2/s2metrics.h:34:
In file included from ../src/s2/s2coords.h:105:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2metrics.cc:31:
In file included from ../src/s2/s2metrics.h:34:
In file included from ../src/s2/s2coords.h:105:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2max_distance_targets.cc:28:
In file included from ../src/s2/s2furthest_edge_query.h:33:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2max_distance_targets.cc:28:
In file included from ../src/s2/s2furthest_edge_query.h:33:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2max_distance_targets.cc:28:
In file included from ../src/s2/s2furthest_edge_query.h:33:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2max_distance_targets.cc:28:
In file included from ../src/s2/s2furthest_edge_query.h:33:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2max_distance_targets.cc:28:
In file included from ../src/s2/s2furthest_edge_query.h:33:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2min_distance_targets.cc:18:
In file included from ../src/s2/s2min_distance_targets.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2measures.cc:18:
In file included from ../src/s2/s2measures.h:24:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
13 warnings generated.
18 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2polygon.cc -o s2/s2polygon.o
In file included from s2/s2min_distance_targets.cc:18:
In file included from ../src/s2/s2min_distance_targets.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2min_distance_targets.cc:18:
In file included from ../src/s2/s2min_distance_targets.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
14 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2polyline_alignment.cc -o s2/s2polyline_alignment.o
In file included from s2/s2max_distance_targets.cc:16:
In file included from ../src/s2/s2max_distance_targets.h:27:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<const S2ShapeIndexCell *>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<const S2ShapeIndexCell *>, std::is_same<std::allocator<const S2ShapeIndexCell *>, std::allocator<const S2ShapeIndexCell *>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<const S2ShapeIndexCell *, 6, std::allocator<const S2ShapeIndexCell *>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
../src/s2/s2closest_edge_query_base.h:319:51: note: in instantiation of template class 'absl::InlinedVector<const S2ShapeIndexCell *, 6>' requested here
319 | absl::InlinedVector<const S2ShapeIndexCell*, 6> index_cells_;
| ^
In file included from s2/s2metrics.cc:31:
In file included from ../src/s2/s2metrics.h:34:
In file included from ../src/s2/s2coords.h:108:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2point_region.cc:18:
In file included from ../src/s2/s2point_region.h:23:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2point_region.cc:18:
In file included from ../src/s2/s2point_region.h:23:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2padded_cell.cc:18:
In file included from ../src/s2/s2padded_cell.h:22:
In file included from ../src/s2/r2rect.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2padded_cell.cc:18:
In file included from ../src/s2/s2padded_cell.h:22:
In file included from ../src/s2/r2rect.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2point_compression.cc:17:
In file included from ../src/s2/s2point_compression.h:49:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2point_compression.cc:17:
In file included from ../src/s2/s2point_compression.h:49:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2point_compression.cc:17:
In file included from ../src/s2/s2point_compression.h:50:
In file included from ../src/s2/util/coding/coder.h:33:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2max_distance_targets.cc:16:
In file included from ../src/s2/s2max_distance_targets.h:27:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>, std::is_same<std::allocator<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>, std::allocator<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestEdgeQueryBase<S2MaxDistance>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_edge_query_base.h:404:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
404 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/s2/s2furthest_edge_query.h:128:26: note: in instantiation of template class 'S2ClosestEdgeQueryBase<S2MaxDistance>' requested here
128 | class Options : public Base::Options {
| ^
In file included from s2/s2loop.cc:18:
In file included from ../src/s2/s2loop.h:29:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<const S2ShapeIndexCell *>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<const S2ShapeIndexCell *>, std::is_same<std::allocator<const S2ShapeIndexCell *>, std::allocator<const S2ShapeIndexCell *>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<const S2ShapeIndexCell *, 6, std::allocator<const S2ShapeIndexCell *>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
../src/s2/s2closest_edge_query_base.h:319:51: note: in instantiation of template class 'absl::InlinedVector<const S2ShapeIndexCell *, 6>' requested here
319 | absl::InlinedVector<const S2ShapeIndexCell*, 6> index_cells_;
| ^
In file included from s2/s2loop.cc:18:
In file included from ../src/s2/s2loop.h:29:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::is_same<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_edge_query_base.h:404:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
404 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/s2/s2closest_edge_query.h:136:18: note: in instantiation of template class 'S2ClosestEdgeQueryBase<S2MinDistance>' requested here
136 | using Result = Base::Result;
| ^
In file included from s2/s2min_distance_targets.cc:18:
In file included from ../src/s2/s2min_distance_targets.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2min_distance_targets.cc:18:
In file included from ../src/s2/s2min_distance_targets.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2min_distance_targets.cc:18:
In file included from ../src/s2/s2min_distance_targets.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
s2/s2loop.cc:82:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
82 | S2_DEFINE_bool(
| ^
../src/s2/base/commandlineflags.h:27:3: note: expanded from macro 'S2_DEFINE_bool'
27 | ABSL_FLAG(bool, name, default_value, description)
| ^
/usr/local/clang/include/absl/flags/flag.h:169:3: note: expanded from macro 'ABSL_FLAG'
169 | ABSL_FLAG_IMPL(Type, name, default_value, help)
| ^
/usr/local/clang/include/absl/flags/flag.h:270:3: note: expanded from macro 'ABSL_FLAG_IMPL'
270 | ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER(name, help) \
| ^
/usr/local/clang/include/absl/flags/flag.h:248:44: note: expanded from macro 'ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER'
248 | constexpr auto FLAGS_help_storage_##name ABSL_INTERNAL_UNIQUE_SMALL_NAME() \
| ^
/usr/local/clang/include/absl/base/optimization.h:307:46: note: expanded from macro 'ABSL_INTERNAL_UNIQUE_SMALL_NAME'
307 | asm(ABSL_INTERNAL_UNIQUE_SMALL_NAME1(.absl.__COUNTER__))
| ^
s2/s2loop.cc:91:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
91 | S2_DEFINE_int32(
| ^
../src/s2/base/commandlineflags.h:33:3: note: expanded from macro 'S2_DEFINE_int32'
33 | ABSL_FLAG(int32, name, default_value, description)
| ^
/usr/local/clang/include/absl/flags/flag.h:169:3: note: expanded from macro 'ABSL_FLAG'
169 | ABSL_FLAG_IMPL(Type, name, default_value, help)
| ^
/usr/local/clang/include/absl/flags/flag.h:270:3: note: expanded from macro 'ABSL_FLAG_IMPL'
270 | ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER(name, help) \
| ^
/usr/local/clang/include/absl/flags/flag.h:248:44: note: expanded from macro 'ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER'
248 | constexpr auto FLAGS_help_storage_##name ABSL_INTERNAL_UNIQUE_SMALL_NAME() \
| ^
/usr/local/clang/include/absl/base/optimization.h:307:46: note: expanded from macro 'ABSL_INTERNAL_UNIQUE_SMALL_NAME'
307 | asm(ABSL_INTERNAL_UNIQUE_SMALL_NAME1(.absl.__COUNTER__))
| ^
In file included from s2/s2metrics.cc:31:
In file included from ../src/s2/s2metrics.h:34:
In file included from ../src/s2/s2coords.h:108:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2metrics.cc:31:
In file included from ../src/s2/s2metrics.h:34:
In file included from ../src/s2/s2coords.h:108:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2metrics.cc:31:
In file included from ../src/s2/s2metrics.h:34:
In file included from ../src/s2/s2coords.h:105:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2max_distance_targets.cc:16:
In file included from ../src/s2/s2max_distance_targets.h:27:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2point_region.cc:18:
In file included from ../src/s2/s2point_region.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2padded_cell.cc:18:
In file included from ../src/s2/s2padded_cell.h:23:
In file included from ../src/s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2max_distance_targets.cc:16:
In file included from ../src/s2/s2max_distance_targets.h:27:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<s2shapeutil::ShapeEdgeId>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3712:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize_impl' requested here
3712 | raw_hash_set::resize_impl(common(), new_capacity, HashtablezInfoHandle{});
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:2664:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize' requested here
2664 | resize(NormalizeCapacity(bucket_count));
| ^
../src/s2/s2closest_edge_query_base.h:481:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::raw_hash_set' requested here
481 | : tested_edges_(/*bucket_count=*/1) {}
| ^
../src/s2/s2furthest_edge_query.h:424:29: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MaxDistance>::S2ClosestEdgeQueryBase' requested here
424 | inline S2FurthestEdgeQuery::S2FurthestEdgeQuery(const S2ShapeIndex* index,
| ^
In file included from s2/s2pointutil.cc:18:
In file included from ../src/s2/s2pointutil.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2loop.cc:18:
In file included from ../src/s2/s2loop.h:29:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2loop.cc:18:
In file included from ../src/s2/s2loop.h:29:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<s2shapeutil::ShapeEdgeId>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3712:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize_impl' requested here
3712 | raw_hash_set::resize_impl(common(), new_capacity, HashtablezInfoHandle{});
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:2664:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize' requested here
2664 | resize(NormalizeCapacity(bucket_count));
| ^
../src/s2/s2closest_edge_query_base.h:481:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::raw_hash_set' requested here
481 | : tested_edges_(/*bucket_count=*/1) {}
| ^
../src/s2/s2closest_edge_query.h:375:28: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::S2ClosestEdgeQueryBase' requested here
375 | inline S2ClosestEdgeQuery::S2ClosestEdgeQuery(const S2ShapeIndex* index,
| ^
In file included from s2/s2point_region.cc:18:
In file included from ../src/s2/s2point_region.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2point_region.cc:18:
In file included from ../src/s2/s2point_region.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2point_region.cc:18:
In file included from ../src/s2/s2point_region.h:23:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2pointutil.cc:18:
In file included from ../src/s2/s2pointutil.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2padded_cell.cc:18:
In file included from ../src/s2/s2padded_cell.h:23:
In file included from ../src/s2/s2cell_id.h:43:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2padded_cell.cc:18:
In file included from ../src/s2/s2padded_cell.h:23:
In file included from ../src/s2/s2cell_id.h:43:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2padded_cell.cc:18:
In file included from ../src/s2/s2padded_cell.h:22:
In file included from ../src/s2/r2rect.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2pointutil.cc:18:
In file included from ../src/s2/s2pointutil.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2metrics.cc:31:
In file included from ../src/s2/s2metrics.h:34:
In file included from ../src/s2/s2coords.h:105:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2polygon.cc:18:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivialIn file included from s2/s2loop.cc:18:
In file included from ../src/s2/s2loop.h:29:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<int>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<int>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_lsyl_orte,l
o c| a ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~t
able(T) 129& | &
| ^
slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<int>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<int>>::transfer<std::allocator<int>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::internal_emplace<int>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), trIn file included from us2/s2polygon.cce:}18;:
In file included from ../src/s2/s2polygon.h| : ^29
:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
/usr/local/clang/include/absl/container/internal/btree_container.hIn file included from :/usr/local/clang/include/absl/base/nullability.h334::15424:
:/usr/local/clang/include/absl/base/internal/nullability_impl.h :note: 38:in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::insert_unique<int, int>' requested here9
: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
334 | 38 | r e=t uTr n_ Ntuhlilsa-b>lter;e
e _| . ^i
nsert_unique(params_type::key(v), std::move(v));
/usr/local/clang/include/absl/base/internal/nullability_impl.h| : ^49
:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
../src/s2/s2closest_edge_query_base.h49: | 578 : 21 : =note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>>::insert' requested hereT
_Nonn u578l | l ;
| ^
shape_ids.insert(containing_shape/usr/local/clang/include/absl/base/internal/nullability_impl.h-:>60i:d9(:) )warning: ;type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
| ^
60 | ../src/s2/s2closest_edge_query_base.h :=537 :T3 :_ Nnote: uin instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested herel
l_uns p537e | c i fFiiendd;C
l o| s ^e
stEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
In file included from s2/s2loop.cc:18:
In file included from ../src/s2/s2loop.h:29:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::Result>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>::transfer<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:330:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::insert_unique<S2ClosestEdgeQueryBase<S2MinDistance>::Result, const S2ClosestEdgeQueryBase<S2MinDistance>::Result &>' requested here
330 | return this->tree_.insert_unique(params_type::key(v), v);
| ^
../src/s2/s2closest_edge_query_base.h:872:17: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>>::insert' requested here
872 | result_set_.insert(result);
| ^
../src/s2/s2closest_edge_query_base.h:582:7: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::AddResult' requested here
582 | AddResult(Result(Distance::Zero(), shape_id, -1));
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
13 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2polyline_measures.cc -o s2/s2polyline_measures.o
In file included from s2/s2point_compression.cc:17:
In file included from ../src/s2/s2point_compression.h:52:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2point_compression.cc:17:
In file included from ../src/s2/s2point_compression.h:52:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2point_compression.cc:17:
In file included from ../src/s2/s2point_compression.h:49:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2polygon.cc:18:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:56:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
21 warnings generated.
In file included from s2/s2polyline_alignment.cc:17:
In file included from ../src/s2/s2polyline_alignment.h:24:
In file included from ../src/s2/s2polyline.h:29:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2min_distance_targets.cc:31:
In file included from ../src/s2/s2closest_cell_query.h:32:
In file included from ../src/s2/s2closest_cell_query_base.h:33:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2min_distance_targets.cc:31:
In file included from ../src/s2/s2closest_cell_query.h:32:
In file included from ../src/s2/s2closest_cell_query_base.h:33:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from In file included from s2/s2polyline_alignment.ccs2/s2min_distance_targets.cc::1731:
:
In file included from In file included from ../src/s2/s2polyline_alignment.h../src/s2/s2closest_cell_query.h::2432:
:
In file included from In file included from ../src/s2/s2polyline.h../src/s2/s2closest_cell_query_base.h::2933:
:
In file included from In file included from /usr/local/clang/include/absl/types/span.h/usr/local/clang/include/absl/container/btree_set.h::6758:
:
In file included from In file included from /usr/local/clang/include/absl/base/nullability.h/usr/local/clang/include/absl/container/internal/btree.h::15467:
:
/usr/local/clang/include/absl/base/internal/nullability_impl.hIn file included from :/usr/local/clang/include/absl/container/internal/layout.h38::1999:
:In file included from /usr/local/clang/include/absl/strings/str_cat.hwarning: :type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]111
:
/usr/local/clang/include/absl/strings/numbers.h:178 :385 | : warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
= T _ N178u | l l a b lAeB;S
L _| I ^N
TERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| /usr/local/clang/include/absl/base/internal/nullability_impl.h ^:
49:9/usr/local/clang/include/absl/base/macros.h:: 212warning: :type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]18
: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'49
| = 212T | _ N_o_nantutlrli;b
u t| e ^_
_((diagnose_if(__builtin_object_size(Obj/usr/local/clang/include/absl/base/internal/nullability_impl.h,: 600:)9 :< warning: Ntype nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension],
\
60| | ^
= T _Null_unspecified;
| ^
In file included from s2/s2min_distance_targets.cc:31:
In file included from ../src/s2/s2closest_cell_query.h:32:
In file included from ../src/s2/s2closest_cell_query_base.h:33:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2min_distance_targets.cc:31:
In file included from ../src/s2/s2closest_cell_query.h:32:
In file included from ../src/s2/s2closest_cell_query_base.h:33:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2loop.cc:18:
In file included from ../src/s2/s2loop.h:29:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<std::pair<int, int>>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<std::pair<int, int>>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3720:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<std::pair<int, int>>, absl::hash_internal::Hash<std::pair<int, int>>, std::equal_to<std::pair<int, int>>, std::allocator<std::pair<int, int>>>::resize_impl' requested here
3720 | raw_hash_set::resize_impl(common(), NextCapacity(SooCapacity()),
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3924:9: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
3924 | resize_with_soo_infoz(infoz);
| ^
/usr/local/clang/include/absl/container/flat_hash_set.h:550:38: note: in instantiation of function template specialization 'absl::container_internal::DecomposeValue<absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<std::pair<int, int>>, absl::hash_internal::Hash<std::pair<int, int>>, std::equal_to<std::pair<int, int>>, std::allocator<std::pair<int, int>>>::EmplaceDecomposable, std::pair<int, int>>' requested here
550 | return absl::container_internal::DecomposeValue(
| ^
/usr/local/clang/include/absl/container/internal/hash_policy_traits.h:134:15: note: in instantiation of function template specialization 'absl::container_internal::FlatHashSetPolicy<std::pair<int, int>>::apply<absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<std::pair<int, int>>, absl::hash_internal::Hash<std::pair<int, int>>, std::equal_to<std::pair<int, int>>, std::allocator<std::pair<int, int>>>::EmplaceDecomposable, std::pair<int, int>>' requested here
134 | return P::apply(std::forward<F>(f), std::forward<Ts>(ts)...);
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3124:26: note: in instantiation of function template specialization 'absl::container_internal::hash_policy_traits<absl::container_internal::FlatHashSetPolicy<std::pair<int, int>>>::apply<absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<std::pair<int, int>>, absl::hash_internal::Hash<std::pair<int, int>>, std::equal_to<std::pair<int, int>>, std::allocator<std::pair<int, int>>>::EmplaceDecomposable, std::pair<int, int>, absl::container_internal::FlatHashSetPolicy<std::pair<int, int>>>' requested here
3124 | return PolicyTraits::apply(EmplaceDecomposable{*this},
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3033:12: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<std::pair<int, int>>, absl::hash_internal::Hash<std::pair<int, int>>, std::equal_to<std::pair<int, int>>, std::allocator<std::pair<int, int>>>::emplace<std::pair<int, int>, 0>' requested here
3033 | return emplace(std::move(value));
| ^
s2/s2loop.cc:1346:10: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<std::pair<int, int>>, absl::hash_internal::Hash<std::pair<int, int>>, std::equal_to<std::pair<int, int>>, std::allocator<std::pair<int, int>>>::insert' requested here
1346 | done.insert(std::make_pair(i, j));
| ^
In file included from s2/s2point_region.cc:18:
In file included from ../src/s2/s2point_region.h:23:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2pointutil.cc:18:
In file included from ../src/s2/s2pointutil.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2pointutil.cc:18:
In file included from ../src/s2/s2pointutil.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2pointutil.cc:18:
In file included from ../src/s2/s2pointutil.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2padded_cell.cc:18:
In file included from ../src/s2/s2padded_cell.h:22:
In file included from ../src/s2/r2rect.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2min_distance_targets.cc:18:
In file included from ../src/s2/s2min_distance_targets.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestCellQueryBase<S2MinDistance>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestCellQueryBase<S2MinDistance>::QueueEntry>, std::is_same<std::allocator<S2ClosestCellQueryBase<S2MinDistance>::QueueEntry>, std::allocator<S2ClosestCellQueryBase<S2MinDistance>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestCellQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestCellQueryBase<S2MinDistance>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestCellQueryBase<S2MinDistance>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_cell_query_base.h:362:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
362 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/s2/s2closest_cell_query.h:110:18: note: in instantiation of template class 'S2ClosestCellQueryBase<S2MinDistance>' requested here
110 | using Result = Base::Result;
| ^
In file included from s2/s2min_distance_targets.cc:18:
In file included from ../src/s2/s2min_distance_targets.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<const S2ShapeIndexCell *>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<const S2ShapeIndexCell *>, std::is_same<std::allocator<const S2ShapeIndexCell *>, std::allocator<const S2ShapeIndexCell *>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<const S2ShapeIndexCell *, 6, std::allocator<const S2ShapeIndexCell *>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
../src/s2/s2closest_edge_query_base.h:319:51: note: in instantiation of template class 'absl::InlinedVector<const S2ShapeIndexCell *, 6>' requested here
319 | absl::InlinedVector<const S2ShapeIndexCell*, 6> index_cells_;
| ^
In file included from s2/s2polygon.cc:18:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2polygon.cc:18:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2polygon.cc:18:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
13 warnings generated.
In file included from s2/s2min_distance_targets.cc:18:
In file included from ../src/s2/s2min_distance_targets.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::is_same<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_edge_query_base.h:404:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
404 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/s2/s2closest_edge_query.h:136:18: note: in instantiation of template class 'S2ClosestEdgeQueryBase<S2MinDistance>' requested here
136 | using Result = Base::Result;
| ^
13 warnings generated.
In file included from s2/s2point_compression.cc:17:
In file included from ../src/s2/s2point_compression.h:49:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
s2/s2point_compression.cc:171:12: warning: unused function 'STtoPiQi' [-Wunused-function]
171 | inline int STtoPiQi(double s, int level) {
| ^~~~~~~~
In file included from s2/s2pointutil.cc:18:
In file included from ../src/s2/s2pointutil.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2min_distance_targets.cc:18:
In file included from ../src/s2/s2min_distance_targets.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
13 warnings generated.
In file included from s2/s2polygon.cc:18:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2polygon.cc:18:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2polygon.cc:18:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2polygon.cc:18:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2polygon.cc:18:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2polyline_alignment.cc:17:
In file included from ../src/s2/s2polyline_alignment.h:24:
In file included from ../src/s2/s2polyline.h:33:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2min_distance_targets.cc:18:
In file included from ../src/s2/s2min_distance_targets.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2CellIndex::LabelledCell>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<S2CellIndex::LabelledCell>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3712:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<S2CellIndex::LabelledCell>, absl::hash_internal::Hash<S2CellIndex::LabelledCell>, std::equal_to<S2CellIndex::LabelledCell>, std::allocator<S2CellIndex::LabelledCell>>::resize_impl' requested here
3712 | raw_hash_set::resize_impl(common(), new_capacity, HashtablezInfoHandle{});
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:2664:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<S2CellIndex::LabelledCell>, absl::hash_internal::Hash<S2CellIndex::LabelledCell>, std::equal_to<S2CellIndex::LabelledCell>, std::allocator<S2CellIndex::LabelledCell>>::resize' requested here
2664 | resize(NormalizeCapacity(bucket_count));
| ^
../src/s2/s2closest_cell_query_base.h:443:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<S2CellIndex::LabelledCell>, absl::hash_internal::Hash<S2CellIndex::LabelledCell>, std::equal_to<S2CellIndex::LabelledCell>, std::allocator<S2CellIndex::LabelledCell>>::raw_hash_set' requested here
443 | : tested_cells_(/*bucket_count=*/1) {}
| ^
../src/s2/s2closest_cell_query.h:341:28: note: in instantiation of member function 'S2ClosestCellQueryBase<S2MinDistance>::S2ClosestCellQueryBase' requested here
341 | inline S2ClosestCellQuery::S2ClosestCellQuery(const S2CellIndex* index,
| ^
14 warnings generated.
In file included from s2/s2min_distance_targets.cc:18:
In file included from ../src/s2/s2min_distance_targets.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestCellQueryBase<S2MinDistance>::Result>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<S2ClosestCellQueryBase<S2MinDistance>::Result>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<S2ClosestCellQueryBase<S2MinDistance>::Result>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<S2ClosestCellQueryBase<S2MinDistance>::Result>>::transfer<std::allocator<S2ClosestCellQueryBase<S2MinDistance>::Result>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<S2ClosestCellQueryBase<S2MinDistance>::Result, std::less<S2ClosestCellQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestCellQueryBase<S2MinDistance>::Result>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
../src/s2/s2closest_cell_query_base.h:777:17: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<S2ClosestCellQueryBase<S2MinDistance>::Result, std::less<S2ClosestCellQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestCellQueryBase<S2MinDistance>::Result>, 256, false>>>::insert' requested here
777 | result_set_.insert(result);
| ^
../src/s2/s2closest_cell_query_base.h:581:5: note: in instantiation of member function 'S2ClosestCellQueryBase<S2MinDistance>::MaybeAddResult' requested here
581 | MaybeAddResult(it.cell_id(), it.label());
| ^
../src/s2/s2closest_cell_query_base.h:569:5: note: in instantiation of member function 'S2ClosestCellQueryBase<S2MinDistance>::FindClosestCellsBruteForce' requested here
569 | FindClosestCellsBruteForce();
| ^
../src/s2/s2closest_cell_query_base.h:496:3: note: in instantiation of member function 'S2ClosestCellQueryBase<S2MinDistance>::FindClosestCellsInternal' requested here
496 | FindClosestCellsInternal(target, options);
| ^
../src/s2/s2closest_cell_query.h:375:9: note: in instantiation of member function 'S2ClosestCellQueryBase<S2MinDistance>::FindClosestCells' requested here
375 | base_.FindClosestCells(target, options_, results);
| ^
In file included from s2/s2polyline_alignment.cc:17:
In file included from ../src/s2/s2polyline_alignment.h:24:
In file included from ../src/s2/s2polyline.h:33:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2polyline_alignment.cc:17:
In file included from ../src/s2/s2polyline_alignment.h:24:
In file included from ../src/s2/s2polyline.h:33:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2polyline_alignment.cc:17:
In file included from ../src/s2/s2polyline_alignment.h:24:
In file included from ../src/s2/s2polyline.h:29:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2min_distance_targets.cc:18:
In file included from ../src/s2/s2min_distance_targets.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<s2shapeutil::ShapeEdgeId>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3712:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize_impl' requested here
3712 | raw_hash_set::resize_impl(common(), new_capacity, HashtablezInfoHandle{});
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:2664:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize' requested here
2664 | resize(NormalizeCapacity(bucket_count));
| ^
../src/s2/s2closest_edge_query_base.h:481:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::raw_hash_set' requested here
481 | : tested_edges_(/*bucket_count=*/1) {}
| ^
../src/s2/s2closest_edge_query.h:375:28: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::S2ClosestEdgeQueryBase' requested here
375 | inline S2ClosestEdgeQuery::S2ClosestEdgeQuery(const S2ShapeIndex* index,
| ^
In file included from s2/s2polyline_measures.cc:18:
In file included from ../src/s2/s2polyline_measures.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2min_distance_targets.cc:18:
In file included from ../src/s2/s2min_distance_targets.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<int>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<int>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<int>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<int>>::transfer<std::allocator<int>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::internal_emplace<int>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:334:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::insert_unique<int, int>' requested here
334 | return this->tree_.insert_unique(params_type::key(v), std::move(v));
| ^
../src/s2/s2closest_edge_query_base.h:578:21: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>>::insert' requested here
578 | shape_ids.insert(containing_shape->id());
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
In file included from s2/s2polygon.cc:18:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<const S2ShapeIndexCell *>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<const S2ShapeIndexCell *>, std::is_same<std::allocator<const S2ShapeIndexCell *>, std::allocator<const S2ShapeIndexCell *>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<const S2ShapeIndexCell *, 6, std::allocator<const S2ShapeIndexCell *>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
../src/s2/s2closest_edge_query_base.h:319:51: note: in instantiation of template class 'absl::InlinedVector<const S2ShapeIndexCell *, 6>' requested here
319 | absl::InlinedVector<const S2ShapeIndexCell*, 6> index_cells_;
| ^
In file included from s2/s2min_distance_targets.cc:18:
In file included from ../src/s2/s2min_distance_targets.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::Result>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>::transfer<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:330:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::insert_unique<S2ClosestEdgeQueryBase<S2MinDistance>::Result, const S2ClosestEdgeQueryBase<S2MinDistance>::Result &>' requested here
330 | return this->tree_.insert_unique(params_type::key(v), v);
| ^
../src/s2/s2closest_edge_query_base.h:872:17: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>>::insert' requested here
872 | result_set_.insert(result);
| ^
../src/s2/s2closest_edge_query_base.h:582:7: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::AddResult' requested here
582 | AddResult(Result(Distance::Zero(), shape_id, -1));
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
In file included from s2/s2polyline_measures.cc:18:
In file included from ../src/s2/s2polyline_measures.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2polyline_measures.cc:18:
In file included from ../src/s2/s2polyline_measures.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2polygon.cc:18:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::is_same<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_edge_query_base.h:404:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
404 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/s2/s2closest_edge_query.h:136:18: note: in instantiation of template class 'S2ClosestEdgeQueryBase<S2MinDistance>' requested here
136 | using Result = Base::Result;
| ^
In file included from s2/s2polyline_alignment.cc:17:
In file included from ../src/s2/s2polyline_alignment.h:24:
In file included from ../src/s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2polyline_alignment.cc:17:
In file included from ../src/s2/s2polyline_alignment.h:24:
In file included from ../src/s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2polyline_alignment.cc:17:
In file included from ../src/s2/s2polyline_alignment.h:24:
In file included from ../src/s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2polyline_alignment.cc:17:
In file included from ../src/s2/s2polyline_alignment.h:24:
In file included from ../src/s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2polyline_alignment.cc:17:
In file included from ../src/s2/s2polyline_alignment.h:24:
In file included from ../src/s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
s2/s2polygon.cc:96:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
96 | S2_DEFINE_bool(
| ^
../src/s2/base/commandlineflags.h:27:3: note: expanded from macro 'S2_DEFINE_bool'
27 | ABSL_FLAG(bool, name, default_value, description)
| ^
/usr/local/clang/include/absl/flags/flag.h:169:3: note: expanded from macro 'ABSL_FLAG'
169 | ABSL_FLAG_IMPL(Type, name, default_value, help)
| ^
/usr/local/clang/include/absl/flags/flag.h:270:3: note: expanded from macro 'ABSL_FLAG_IMPL'
270 | ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER(name, help) \
| ^
/usr/local/clang/include/absl/flags/flag.h:248:44: note: expanded from macro 'ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER'
248 | constexpr auto FLAGS_help_storage_##name ABSL_INTERNAL_UNIQUE_SMALL_NAME() \
| ^
/usr/local/clang/include/absl/base/optimization.h:307:46: note: expanded from macro 'ABSL_INTERNAL_UNIQUE_SMALL_NAME'
307 | asm(ABSL_INTERNAL_UNIQUE_SMALL_NAME1(.absl.__COUNTER__))
| ^
s2/s2polygon.cc:104:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
104 | S2_DEFINE_int32(
| ^
../src/s2/base/commandlineflags.h:33:3: note: expanded from macro 'S2_DEFINE_int32'
33 | ABSL_FLAG(int32, name, default_value, description)
| ^
/usr/local/clang/include/absl/flags/flag.h:169:3: note: expanded from macro 'ABSL_FLAG'
169 | ABSL_FLAG_IMPL(Type, name, default_value, help)
| ^
/usr/local/clang/include/absl/flags/flag.h:270:3: note: expanded from macro 'ABSL_FLAG_IMPL'
270 | ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER(name, help) \
| ^
/usr/local/clang/include/absl/flags/flag.h:248:44: note: expanded from macro 'ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER'
248 | constexpr auto FLAGS_help_storage_##name ABSL_INTERNAL_UNIQUE_SMALL_NAME() \
| ^
/usr/local/clang/include/absl/base/optimization.h:307:46: note: expanded from macro 'ABSL_INTERNAL_UNIQUE_SMALL_NAME'
307 | asm(ABSL_INTERNAL_UNIQUE_SMALL_NAME1(.absl.__COUNTER__))
| ^
In file included from s2/s2polygon.cc:18:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2polyline_simplifier.cc -o s2/s2polyline_simplifier.o
In file included from s2/s2polygon.cc:18:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<s2shapeutil::ShapeEdgeId>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3712:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize_impl' requested here
3712 | raw_hash_set::resize_impl(common(), new_capacity, HashtablezInfoHandle{});
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:2664:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize' requested here
2664 | resize(NormalizeCapacity(bucket_count));
| ^
../src/s2/s2closest_edge_query_base.h:481:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::raw_hash_set' requested here
481 | : tested_edges_(/*bucket_count=*/1) {}
| ^
../src/s2/s2closest_edge_query.h:375:28: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::S2ClosestEdgeQueryBase' requested here
375 | inline S2ClosestEdgeQuery::S2ClosestEdgeQuery(const S2ShapeIndex* index,
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2polyline.cc -o s2/s2polyline.o
In file included from s2/s2polyline_alignment.cc:17:
In file included from ../src/s2/s2polyline_alignment.h:24:
In file included from ../src/s2/s2polyline.h:29:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2polygon.cc:18:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<int>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<int>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<int>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<int>>::transfer<std::allocator<int>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::internal_emplace<int>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:334:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::insert_unique<int, int>' requested here
334 | return this->tree_.insert_unique(params_type::key(v), std::move(v));
| ^
../src/s2/s2closest_edge_query_base.h:578:21: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>>::insert' requested here
578 | shape_ids.insert(containing_shape->id());
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
In file included from s2/s2polyline_measures.cc:18:
In file included from ../src/s2/s2polyline_measures.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidIn file included from Fs2/s2polygon.cco:r18m:
aIn file included from t../src/s2/s2polygon.hI:m29p:
lIn file included from </usr/local/clang/include/absl/container/flat_hash_map.hC:.40.:
.In file included from >/usr/local/clang/include/absl/algorithm/container.h(:f57o:
rIn file included from m/usr/local/clang/include/absl/base/nullability.ha:t154):
,In file included from
/usr/local/clang/include/absl/base/internal/nullability_impl.h :| 23 ^:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::Result>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>::transfer<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:330:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::insert_unique<S2ClosestEdgeQueryBase<S2MinDistance>::Result, const S2ClosestEdgeQueryBase<S2MinDistance>::Result &>' requested here
330 | return this->tree_.insert_unique(params_type::key(v), v);
| ^
../src/s2/s2closest_edge_query_base.h:872:17: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>>::insert' requested here
872 | result_set_.insert(result);
| ^
../src/s2/s2closest_edge_query_base.h:582:7: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::AddResult' requested here
582 | AddResult(Result(Distance::Zero(), shape_id, -1));
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.hIn file included from :s2/s2polyline_measures.cc409::189:
:In file included from ../src/s2/s2polyline_measures.hnote: :in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here29
:
In file included from ../src/s2/s1angle.h: 28409:
| In file included from ../src/s2/s2point.h :b27a:
sIn file included from e../src/s2/s2coder.h_:.23F:
iIn file included from n/usr/local/clang/include/absl/status/status.hd:C66l:
oIn file included from s/usr/local/clang/include/absl/status/internal/status_internal.he:s27t:
EIn file included from d/usr/local/clang/include/absl/strings/cord.hg:e80s:
(In file included from t/usr/local/clang/include/absl/crc/internal/crc_cord_state.ha:r23g:
eIn file included from t/usr/local/clang/include/absl/crc/crc32c.h,: 32o:
pIn file included from t/usr/local/clang/include/absl/strings/str_format.hi:o84n:
s/usr/local/clang/include/absl/strings/internal/str_format/bind.h_:,143 :r11e:s uwarning: l'enable_if' is a clang extension [-Wgcc-compat]t
s);
| ^
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2polyline_measures.cc:18:
In file included from ../src/s2/s2polyline_measures.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2predicates.cc -o s2/s2predicates.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2projections.cc -o s2/s2projections.o
26 warnings generated.
In file included from s2/s2polygon.cc:18:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<std::pair<S2Loop *const, std::vector<S2Loop *>>>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashMapPolicy<S2Loop *, std::vector<S2Loop *>>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3720:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashMapPolicy<S2Loop *, std::vector<S2Loop *>>, absl::container_internal::HashEq<S2Loop *>::Hash, absl::container_internal::HashEq<S2Loop *>::Eq, std::allocator<std::pair<S2Loop *const, std::vector<S2Loop *>>>>::resize_impl' requested here
3720 | raw_hash_set::resize_impl(common(), NextCapacity(SooCapacity()),
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3924:9: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
3924 | resize_with_soo_infoz(infoz);
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:4049:26: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashMapPolicy<S2Loop *, std::vector<S2Loop *>>, absl::container_internal::HashEq<S2Loop *>::Hash, absl::container_internal::HashEq<S2Loop *>::Eq, std::allocator<std::pair<S2Loop *const, std::vector<S2Loop *>>>>::find_or_prepare_insert_soo<S2Loop *>' requested here
4049 | if (is_soo()) return find_or_prepare_insert_soo(key);
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_map.h:212:22: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashMapPolicy<S2Loop *, std::vector<S2Loop *>>, absl::container_internal::HashEq<S2Loop *>::Hash, absl::container_internal::HashEq<S2Loop *>::Eq, std::allocator<std::pair<S2Loop *const, std::vector<S2Loop *>>>>::find_or_prepare_insert<S2Loop *>' requested here
212 | auto res = this->find_or_prepare_insert(k);
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_map.h:141:12: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_map<absl::container_internal::FlatHashMapPolicy<S2Loop *, std::vector<S2Loop *>>, absl::container_internal::HashEq<S2Loop *>::Hash, absl::container_internal::HashEq<S2Loop *>::Eq, std::allocator<std::pair<S2Loop *const, std::vector<S2Loop *>>>>::try_emplace_impl<S2Loop *const &>' requested here
141 | return try_emplace_impl(k, std::forward<Args>(args)...);
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_map.h:193:49: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_map<absl::container_internal::FlatHashMapPolicy<S2Loop *, std::vector<S2Loop *>>, absl::container_internal::HashEq<S2Loop *>::Hash, absl::container_internal::HashEq<S2Loop *>::Eq, std::allocator<std::pair<S2Loop *const, std::vector<S2Loop *>>>>::try_emplace<S2Loop *, 0>' requested here
193 | return Policy::value(&this->unchecked_deref(try_emplace(key).first));
| ^
s2/s2polygon.cc:314:47: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_map<absl::container_internal::FlatHashMapPolicy<S2Loop *, std::vector<S2Loop *>>, absl::container_internal::HashEq<S2Loop *>::Hash, absl::container_internal::HashEq<S2Loop *>::Eq, std::allocator<std::pair<S2Loop *const, std::vector<S2Loop *>>>>::operator[]<S2Loop *, absl::container_internal::FlatHashMapPolicy<S2Loop *, std::vector<S2Loop *>>>' requested here
314 | vector<S2Loop*>* new_children = &(*loop_map)[new_loop];
| ^
In file included from s2/s2polyline_measures.cc:18:
In file included from ../src/s2/s2polyline_measures.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from In file included from /usr/local/clang/include/absl/hash/hash.hs2/s2polygon.cc::8818:
:
In file included from In file included from /usr/local/clang/include/absl/functional/function_ref.h../src/s2/s2polygon.h::5429:
:
In file included from In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h/usr/local/clang/include/absl/container/flat_hash_map.h::2340:
:
In file included from In file included from /usr/local/clang/include/absl/functional/any_invocable.h/usr/local/clang/include/absl/algorithm/container.h::4357:
:
In file included from In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h/usr/local/clang/include/absl/base/nullability.h::71154:
:
In file included from /usr/local/clang/include/absl/meta/type_traits.h/usr/local/clang/include/absl/base/internal/nullability_impl.h::52723::
22/usr/local/clang/include/absl/meta/type_traits.h:: 527warning: :builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]22
: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | 527 | ( _ _(i_s__itsr_itvriiavlilayl_lrye_lroeclaotcaabtlaeb(lTe)( T&)&
& &|
^
| ^
/usr/local/clang/include/absl/meta/type_traits.h/usr/local/clang/include/absl/container/internal/common_policy_traits.h::147126::2441:: note: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested herein instantiation of template class 'absl::is_trivially_relocatable<const S2Loop *>' requested here
147126 | | : s t d : : c otnydpietniaomnea l=< Ts:t:dv:a:leunea,b lceo_nijfu_ntc<taibosnl<:T:si.s._.t>r,i vTi>a:l:ltyy_pree l{o}c;a
t a| b ^l
e<
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:/usr/local/clang/include/absl/container/internal/common_policy_traits.h324::1287::25 :note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested herenote:
in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
324 | 128 | satbastli:c: csotndj:u:ntcrtuieo_nt<yapbes lt:r:ainss_fterri_viimaplll(yA_lrleolco*c,a tsalbolte_<tVyapleu*e Tnyepwe_<sAl>o>t,,
| | ^ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | /usr/local/clang/include/absl/container/inlined_vector.h : 99 : 33 : note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | u s i n g M e m c p y P o l i c y =s ltoytp_etnyapmee* Sotlodr_asgleo:t:,M eRmacnpky1P)o l{i
c y| ; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ^
130 | // /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.hT:O72D:O19(:b /note: 2in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here4
7130232 )72: | r e m osvtea tciacs_tass saefrtte(rs ifziexoifn(g_ Twpa)r n>i=n g0s,.
" c| a ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~n
not d131e | l e t e /a/n TiOnDcOo(mbp/l2e5t1e8 1t4y8p7e0")):;
r e| m ^o
ve casts /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.ha:f288t:e7r: fnote: iin instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested herex
ing w288a | r n i n g s ._
_ d| e ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~l
et e132r | _ ( _ _ tsmtpd):;:
m e| m ^c
py(
| ~~~~~~~~~~~~/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h
:254: 71133: | note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
s t254a | t i c__LcIaBsCtP<Pv_oHiIdD*E>_(FsRtOdM:_:AlBaIu n_dLeIrB(C
P P| _ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~C
ONSTE X134P | R _ S I N C E _ C X X 2 3c o~nusnti_qcuaes_tp<tsrt(d): :{r ermeosveet_(c)o;n s}t
_ t| < ^v
alue_typ/usr/local/clang/include/absl/status/internal/status_internal.he:>68*:>3(:& enote: lin instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested heree
ment(n e68w | _ s lSotta)t)u)s)R,e
p (| a ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~b
sl::S t135a | t u s C o d e csotdaet_iacr_gc,a satb<sclo:n:sstt rvionigd_*v>i(e&we lmeemsesnatg(eo_ladr_gs,l
o t| ) ^)
, sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<const S2Loop *>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3720:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<const S2Loop *>, absl::container_internal::HashEq<const S2Loop *>::Hash, absl::container_internal::HashEq<const S2Loop *>::Eq, std::allocator<const S2Loop *>>::resize_impl' requested here
3720 | raw_hash_set::resize_impl(common(), NextCapacity(SooCapacity()),
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3924:9: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
3924 | resize_with_soo_infoz(infoz);
| ^
/usr/local/clang/include/absl/container/flat_hash_set.h:550:38: note: in instantiation of function template specialization 'absl::container_internal::DecomposeValue<absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<const S2Loop *>, absl::container_internal::HashEq<const S2Loop *>::Hash, absl::container_internal::HashEq<const S2Loop *>::Eq, std::allocator<const S2Loop *>>::EmplaceDecomposable, S2Loop *const &>' requested here
550 | return absl::container_internal::DecomposeValue(
| ^
/usr/local/clang/include/absl/container/internal/hash_policy_traits.h:134:15: note: in instantiation of function template specialization 'absl::container_internal::FlatHashSetPolicy<const S2Loop *>::apply<absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<const S2Loop *>, absl::container_internal::HashEq<const S2Loop *>::Hash, absl::container_internal::HashEq<const S2Loop *>::Eq, std::allocator<const S2Loop *>>::EmplaceDecomposable, S2Loop *const &>' requested here
134 | return P::apply(std::forward<F>(f), std::forward<Ts>(ts)...);
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3124:26: note: in instantiation of function template specialization 'absl::container_internal::hash_policy_traits<absl::container_internal::FlatHashSetPolicy<const S2Loop *>>::apply<absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<const S2Loop *>, absl::container_internal::HashEq<const S2Loop *>::Hash, absl::container_internal::HashEq<const S2Loop *>::Eq, std::allocator<const S2Loop *>>::EmplaceDecomposable, S2Loop *const &, absl::container_internal::FlatHashSetPolicy<const S2Loop *>>' requested here
3124 | return PolicyTraits::apply(EmplaceDecomposable{*this},
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3010:12: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<const S2Loop *>, absl::container_internal::HashEq<const S2Loop *>::Hash, absl::container_internal::HashEq<const S2Loop *>::Eq, std::allocator<const S2Loop *>>::emplace<S2Loop *const &, 0>' requested here
3010 | return emplace(value);
| ^
s2/s2polygon.cc:471:24: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<const S2Loop *>, absl::container_internal::HashEq<const S2Loop *>::Hash, absl::container_internal::HashEq<const S2Loop *>::Eq, std::allocator<const S2Loop *>>::insert<S2Loop *, 0>' requested here
471 | contained_origin.insert(loop);
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2r2rect.cc -o s2/s2r2rect.o
13 warnings generated.
In file included from s2/s2polygon.cc:18:
In file included from ../src/s2/s2polygon.h:29:
In file included from /usr/local/clang/include/absl/container/flat_hash_map.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2Point>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:4183:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<S2Point>>::transfer_uses_memcpy' requested here
4183 | PolicyTraits::transfer_uses_memcpy()
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:2961:35: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<S2Point>, absl::hash_internal::Hash<S2Point>, std::equal_to<S2Point>, std::allocator<S2Point>>::GetPolicyFunctions' requested here
2961 | ClearBackingArray(common(), GetPolicyFunctions(), /*reuse=*/cap < 128,
| ^
s2/s2polygon.cc:1380:16: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<S2Point>, absl::hash_internal::Hash<S2Point>, std::equal_to<S2Point>, std::allocator<S2Point>>::clear' requested here
1380 | vertices.clear();
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2region_coverer.cc -o s2/s2region_coverer.o
18 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2region_intersection.cc -o s2/s2region_intersection.o
In file included from s2/s2polyline.cc:18:
In file included from ../src/s2/s2polyline.h:29:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2polyline.cc:18:
In file included from ../src/s2/s2polyline.h:29:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2polyline_simplifier.cc:18:
In file included from ../src/s2/s2polyline_simplifier.h:63:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2polyline_simplifier.cc:18:
In file included from ../src/s2/s2polyline_simplifier.h:63:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2polyline_simplifier.cc:18:
In file included from ../src/s2/s2polyline_simplifier.h:63:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2predicates.cc:18:
In file included from ../src/s2/s2predicates.h:55:
In file included from /usr/local/clang/include/absl/flags/flag.h:39:
In file included from /usr/local/clang/include/absl/flags/commandlineflag.h:35:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2predicates.cc:18:
In file included from ../src/s2/s2predicates.h:55:
In file included from /usr/local/clang/include/absl/flags/flag.h:39:
In file included from /usr/local/clang/include/absl/flags/commandlineflag.h:35:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2polyline.cc:18:
In file included from ../src/s2/s2polyline.h:33:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2predicates.cc:18:
In file included from ../src/s2/s2predicates.h:55:
In file included from /usr/local/clang/include/absl/flags/flag.h:41:
In file included from /usr/local/clang/include/absl/flags/internal/flag.h:40:
In file included from /usr/local/clang/include/absl/flags/marshalling.h:203:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2projections.cc:18:
In file included from ../src/s2/s2projections.h:27:
In file included from ../src/s2/r2.h:22:
In file included from ../src/s2/util/math/vector.h:35:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2projections.cc:18:
In file included from ../src/s2/s2projections.h:27:
In file included from ../src/s2/r2.h:22:
In file included from ../src/s2/util/math/vector.h:35:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2r2rect.cc:18:
In file included from ../src/s2/s2r2rect.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2r2rect.cc:18:
In file included from ../src/s2/s2r2rect.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2polyline.cc:18:
In file included from ../src/s2/s2polyline.h:33:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2polyline.cc:18:
In file included from ../src/s2/s2polyline.h:33:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2polyline.cc:18:
In file included from ../src/s2/s2polyline.h:29:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2polyline_simplifier.cc:18:
In file included from ../src/s2/s2polyline_simplifier.h:63:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2polyline_simplifier.cc:18:
In file included from ../src/s2/s2polyline_simplifier.h:63:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2polyline_simplifier.cc:18:
In file included from ../src/s2/s2polyline_simplifier.h:63:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2projections.cc:18:
In file included from ../src/s2/s2projections.h:28:
In file included from ../src/s2/s2latlng.h:27:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2region_coverer.cc:18:
In file included from ../src/s2/s2region_coverer.h:28:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2region_coverer.cc:18:
In file included from ../src/s2/s2region_coverer.h:31:
In file included from ../src/s2/s2cell.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2r2rect.cc:18:
In file included from ../src/s2/s2r2rect.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2predicates.cc:18:
In file included from ../src/s2/s2predicates.h:57:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2predicates.cc:18:
In file included from ../src/s2/s2predicates.h:57:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2predicates.cc:18:
In file included from ../src/s2/s2predicates.h:55:
In file included from /usr/local/clang/include/absl/flags/flag.h:39:
In file included from /usr/local/clang/include/absl/flags/commandlineflag.h:35:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2projections.cc:18:
In file included from ../src/s2/s2projections.h:28:
In file included from ../src/s2/s2latlng.h:32:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2projections.cc:18:
In file included from ../src/s2/s2projections.h:28:
In file included from ../src/s2/s2latlng.h:32:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2projections.cc:18:
In file included from ../src/s2/s2projections.h:27:
In file included from ../src/s2/r2.h:22:
In file included from ../src/s2/util/math/vector.h:35:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2region_intersection.cc:17:
In file included from ../src/s2/s2region_intersection.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2region_intersection.cc:17:
In file included from ../src/s2/s2region_intersection.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2polyline_simplifier.cc:18:
In file included from ../src/s2/s2polyline_simplifier.h:63:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2region_coverer.cc:18:
In file included from ../src/s2/s2region_coverer.h:31:
In file included from ../src/s2/s2cell.h:25:
In file included from ../src/s2/util/coding/coder.h:33:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2r2rect.cc:18:
In file included from ../src/s2/s2r2rect.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2r2rect.cc:18:
In file included from ../src/s2/s2r2rect.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2r2rect.cc:18:
In file included from ../src/s2/s2r2rect.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
26 warnings generated.
In file included from s2/s2polyline.cc:18:
In file included from ../src/s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2polyline.cc:18:
In file included from ../src/s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2polyline.cc:18:
In file included from ../src/s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2polyline.cc:18:
In file included from ../src/s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2polyline.cc:18:
In file included from ../src/s2/s2polyline.h:34:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2region_term_indexer.cc -o s2/s2region_term_indexer.o
13 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2region_union.cc -o s2/s2region_union.o
In file included from s2/s2predicates.cc:18:
In file included from ../src/s2/s2predicates.h:55:
In file included from /usr/local/clang/include/absl/flags/flag.h:39:
In file included from /usr/local/clang/include/absl/flags/commandlineflag.h:35:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2projections.cc:18:
In file included from ../src/s2/s2projections.h:27:
In file included from ../src/s2/r2.h:22:
In file included from ../src/s2/util/math/vector.h:35:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2r2rect.cc:18:
In file included from ../src/s2/s2r2rect.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
13 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2region.cc -o s2/s2region.o
In file included from s2/s2region_coverer.cc:18:
In file included from ../src/s2/s2region_coverer.h:31:
In file included from ../src/s2/s2cell.h:28:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2region_coverer.cc:18:
In file included from ../src/s2/s2region_coverer.h:31:
In file included from ../src/s2/s2cell.h:28:
In file included from ../src/s2/s1chord_angle.h:29:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2region_coverer.cc:18:
In file included from ../src/s2/s2region_coverer.h:28:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2region_intersection.cc:17:
In file included from ../src/s2/s2region_intersection.h:27:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
13 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2shape_index_buffered_region.cc -o s2/s2shape_index_buffered_region.o
In file included from s2/s2polyline.cc:18:
In file included from ../src/s2/s2polyline.h:29:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2region_intersection.cc:17:
In file included from ../src/s2/s2region_intersection.h:27:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2region_intersection.cc:17:
In file included from ../src/s2/s2region_intersection.h:27:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2region_intersection.cc:17:
In file included from ../src/s2/s2region_intersection.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2polyline.cc:18:
In file included from ../src/s2/s2polyline.h:29:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<(anonymous namespace)::SearchState>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<(anonymous namespace)::SearchState>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3720:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<(anonymous namespace)::SearchState>, absl::hash_internal::Hash<(anonymous namespace)::SearchState>, std::equal_to<(anonymous namespace)::SearchState>, std::allocator<(anonymous namespace)::SearchState>>::resize_impl' requested here
3720 | raw_hash_set::resize_impl(common(), NextCapacity(SooCapacity()),
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3924:9: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
3924 | resize_with_soo_infoz(infoz);
| ^
/usr/local/clang/include/absl/container/flat_hash_set.h:550:38: note: in instantiation of function template specialization 'absl::container_internal::DecomposeValue<absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<(anonymous namespace)::SearchState>, absl::hash_internal::Hash<(anonymous namespace)::SearchState>, std::equal_to<(anonymous namespace)::SearchState>, std::allocator<(anonymous namespace)::SearchState>>::EmplaceDecomposable, const (anonymous namespace)::SearchState &>' requested here
550 | return absl::container_internal::DecomposeValue(
| ^
/usr/local/clang/include/absl/container/internal/hash_policy_traits.h:134:15: note: in instantiation of function template specialization 'absl::container_internal::FlatHashSetPolicy<(anonymous namespace)::SearchState>::apply<absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<(anonymous namespace)::SearchState>, absl::hash_internal::Hash<(anonymous namespace)::SearchState>, std::equal_to<(anonymous namespace)::SearchState>, std::allocator<(anonymous namespace)::SearchState>>::EmplaceDecomposable, const (anonymous namespace)::SearchState &>' requested here
134 | return P::apply(std::forward<F>(f), std::forward<Ts>(ts)...);
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3124:26: note: in instantiation of function template specialization 'absl::container_internal::hash_policy_traits<absl::container_internal::FlatHashSetPolicy<(anonymous namespace)::SearchState>>::apply<absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<(anonymous namespace)::SearchState>, absl::hash_internal::Hash<(anonymous namespace)::SearchState>, std::equal_to<(anonymous namespace)::SearchState>, std::allocator<(anonymous namespace)::SearchState>>::EmplaceDecomposable, const (anonymous namespace)::SearchState &, absl::container_internal::FlatHashSetPolicy<(anonymous namespace)::SearchState>>' requested here
3124 | return PolicyTraits::apply(EmplaceDecomposable{*this},
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3010:12: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<(anonymous namespace)::SearchState>, absl::hash_internal::Hash<(anonymous namespace)::SearchState>, std::equal_to<(anonymous namespace)::SearchState>, std::allocator<(anonymous namespace)::SearchState>>::emplace<const (anonymous namespace)::SearchState &, 0>' requested here
3010 | return emplace(value);
| ^
s2/s2polyline.cc:777:15: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<(anonymous namespace)::SearchState>, absl::hash_internal::Hash<(anonymous namespace)::SearchState>, std::equal_to<(anonymous namespace)::SearchState>, std::allocator<(anonymous namespace)::SearchState>>::insert<(anonymous namespace)::SearchState, 0>' requested here
777 | if (!done.insert(state).second) continue;
| ^
13 warnings generated.
In file included from s2/s2region_term_indexer.cc:75:
In file included from ../src/s2/s2region_term_indexer.h:103:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2region_term_indexer.cc:75:
In file included from ../src/s2/s2region_term_indexer.h:103:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2region_union.cc:18:
In file included from ../src/s2/s2region_union.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2region_union.cc:18:
In file included from ../src/s2/s2region_union.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2region_intersection.cc:17:
In file included from ../src/s2/s2region_intersection.h:25:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2region_term_indexer.cc:75:
In file included from ../src/s2/s2region_term_indexer.h:105:
In file included from ../src/s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
28 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2shape_index_measures.cc -o s2/s2shape_index_measures.o
13 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2shape_index.cc -o s2/s2shape_index.o
In file included from s2/s2region_coverer.cc:18:
In file included from ../src/s2/s2region_coverer.h:28:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2region_union.cc:18:
In file included from ../src/s2/s2region_union.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2shape_index_buffered_region.cc:18:
In file included from ../src/s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2region_coverer.cc:18:
In file included from ../src/s2/s2region_coverer.h:28:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2CellId>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<S2CellId>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3720:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<S2CellId>, S2CellIdHash, std::equal_to<S2CellId>, std::allocator<S2CellId>>::resize_impl' requested here
3720 | raw_hash_set::resize_impl(common(), NextCapacity(SooCapacity()),
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3924:9: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
3924 | resize_with_soo_infoz(infoz);
| ^
/usr/local/clang/include/absl/container/flat_hash_set.h:550:38: note: in instantiation of function template specialization 'absl::container_internal::DecomposeValue<absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<S2CellId>, S2CellIdHash, std::equal_to<S2CellId>, std::allocator<S2CellId>>::EmplaceDecomposable, const S2CellId &>' requested here
550 | return absl::container_internal::DecomposeValue(
| ^
/usr/local/clang/include/absl/container/internal/hash_policy_traits.h:134:15: note: in instantiation of function template specialization 'absl::container_internal::FlatHashSetPolicy<S2CellId>::apply<absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<S2CellId>, S2CellIdHash, std::equal_to<S2CellId>, std::allocator<S2CellId>>::EmplaceDecomposable, const S2CellId &>' requested here
134 | return P::apply(std::forward<F>(f), std::forward<Ts>(ts)...);
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3124:26: note: in instantiation of function template specialization 'absl::container_internal::hash_policy_traits<absl::container_internal::FlatHashSetPolicy<S2CellId>>::apply<absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<S2CellId>, S2CellIdHash, std::equal_to<S2CellId>, std::allocator<S2CellId>>::EmplaceDecomposable, const S2CellId &, absl::container_internal::FlatHashSetPolicy<S2CellId>>' requested here
3124 | return PolicyTraits::apply(EmplaceDecomposable{*this},
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3010:12: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<S2CellId>, S2CellIdHash, std::equal_to<S2CellId>, std::allocator<S2CellId>>::emplace<const S2CellId &, 0>' requested here
3010 | return emplace(value);
| ^
s2/s2region_coverer.cc:489:7: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<S2CellId>, S2CellIdHash, std::equal_to<S2CellId>, std::allocator<S2CellId>>::insert<S2CellId, 0>' requested here
489 | all.insert(start);
| ^
In file included from s2/s2shape_index_buffered_region.cc:18:
In file included from ../src/s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2shape_index_buffered_region.cc:18:
In file included from ../src/s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2region_union.cc:18:
In file included from ../src/s2/s2region_union.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2region_union.cc:18:
In file included from ../src/s2/s2region_union.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2region_union.cc:18:
In file included from ../src/s2/s2region_union.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
19 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2shape_measures.cc -o s2/s2shape_measures.o
In file included from s2/s2region_term_indexer.cc:75:
In file included from ../src/s2/s2region_term_indexer.h:105:
In file included from ../src/s2/s2cell_id.h:43:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2region_term_indexer.cc:75:
In file included from ../src/s2/s2region_term_indexer.h:105:
In file included from ../src/s2/s2cell_id.h:43:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2region_term_indexer.cc:75:
In file included from ../src/s2/s2region_term_indexer.h:103:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2region.cc:18:
In file included from ../src/s2/s2region.h:24:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2region_union.cc:18:
In file included from ../src/s2/s2region_union.h:26:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2shape_index_buffered_region.cc:18:
In file included from ../src/s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2shape_index_buffered_region.cc:18:
In file included from ../src/s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2shape_index_buffered_region.cc:18:
In file included from ../src/s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2region_term_indexer.cc:81:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2region_term_indexer.cc:81:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2region_term_indexer.cc:81:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2region_term_indexer.cc:81:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2region_term_indexer.cc:81:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
13 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2shape_nesting_query.cc -o s2/s2shape_nesting_query.o
14 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2shapeutil_build_polygon_boundaries.cc -o s2/s2shapeutil_build_polygon_boundaries.o
In file included from s2/s2region.cc:18:
In file included from ../src/s2/s2region.h:24:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2region.cc:18:
In file included from ../src/s2/s2region.h:24:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2region_term_indexer.cc:75:
In file included from ../src/s2/s2region_term_indexer.h:103:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2shape_index_buffered_region.cc:18:
In file included from ../src/s2/s2shape_index_buffered_region.h:29:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shape_index_buffered_region.cc:18:
In file included from ../src/s2/s2shape_index_buffered_region.h:29:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shape_index_buffered_region.cc:18:
In file included from ../src/s2/s2shape_index_buffered_region.h:29:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shape_index_buffered_region.cc:18:
In file included from ../src/s2/s2shape_index_buffered_region.h:29:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shape_index_buffered_region.cc:18:
In file included from ../src/s2/s2shape_index_buffered_region.h:29:
In file included from ../src/s2/s2closest_edge_query.h:34:
In file included from ../src/s2/s2closest_edge_query_base.h:32:
In file included from /usr/local/clang/include/absl/container/btree_set.h:58:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shape_index_measures.cc:18:
In file included from ../src/s2/s2shape_index_measures.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2shapeutil_coding.cc -o s2/s2shapeutil_coding.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2shapeutil_contains_brute_force.cc -o s2/s2shapeutil_contains_brute_force.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2shapeutil_conversion.cc -o s2/s2shapeutil_conversion.o
In file included from s2/s2shape_index_buffered_region.cc:18:
In file included from ../src/s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<const S2ShapeIndexCell *>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<const S2ShapeIndexCell *>, std::is_same<std::allocator<const S2ShapeIndexCell *>, std::allocator<const S2ShapeIndexCell *>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<const S2ShapeIndexCell *, 6, std::allocator<const S2ShapeIndexCell *>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
../src/s2/s2closest_edge_query_base.h:319:51: note: in instantiation of template class 'absl::InlinedVector<const S2ShapeIndexCell *, 6>' requested here
319 | absl::InlinedVector<const S2ShapeIndexCell*, 6> index_cells_;
| ^
In file included from s2/s2shape_index_measures.cc:18:
In file included from ../src/s2/s2shape_index_measures.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
18 warnings generated.
In file included from s2/s2shape_index.cc:18:
In file included from ../src/s2/s2shape_index.h:54:
In file included from /usr/local/clang/include/absl/synchronization/mutex.h:75:
In file included from /usr/local/clang/include/absl/synchronization/internal/kernel_timeout.h:30:
In file included from /usr/local/clang/include/absl/time/clock.h:29:
In file included from /usr/local/clang/include/absl/time/time.h:101:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2shape_index.cc:18:
In file included from ../src/s2/s2shape_index.h:54:
In file included from /usr/local/clang/include/absl/synchronization/mutex.h:75:
In file included from /usr/local/clang/include/absl/synchronization/internal/kernel_timeout.h:30:
In file included from /usr/local/clang/include/absl/time/clock.h:29:
In file included from /usr/local/clang/include/absl/time/time.h:101:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2shapeutil_edge_iterator.cc -o s2/s2shapeutil_edge_iterator.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2shapeutil_get_reference_point.cc -o s2/s2shapeutil_get_reference_point.o
In file included from s2/s2shape_index_measures.cc:18:
In file included from ../src/s2/s2shape_index_measures.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2shape_index_buffered_region.cc:18:
In file included from ../src/s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::is_same<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__fwd/queue.h:26:85: note: in instantiation of template class 'absl::InlinedVector<S2ClosestEdgeQueryBase<S2MinDistance>::QueueEntry, 16>' requested here
26 | template <class _Tp, class _Container = vector<_Tp>, class _Compare = less<typename _Container::value_type> >
| ^
../src/s2/s2closest_edge_query_base.h:404:12: note: in instantiation of default argument for 'priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>' required here
404 | std::priority_queue<QueueEntry, absl::InlinedVector<QueueEntry, 16>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/s2/s2closest_edge_query.h:136:18: note: in instantiation of template class 'S2ClosestEdgeQueryBase<S2MinDistance>' requested here
136 | using Result = Base::Result;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2shapeutil_visit_crossing_edge_pairs.cc -o s2/s2shapeutil_visit_crossing_edge_pairs.o
In file included from s2/s2region.cc:18:
In file included from ../src/s2/s2region.h:24:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2region.cc:18:
In file included from ../src/s2/s2region.h:24:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2text_format.cc -o s2/s2text_format.o
In file included from s2/s2region.cc:18:
In file included from ../src/s2/s2region.h:24:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2shape_measures.cc:18:
In file included from ../src/s2/s2shape_measures.h:27:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2shape_index_buffered_region.cc:18:
In file included from ../src/s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2shape_index_buffered_region.cc:18:
In file included from ../src/s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<s2shapeutil::ShapeEdgeId>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<char>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:94:34: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<char>, $1 = (no value)]
94 | return std::is_same<decltype(transfer_impl<std::allocator<char>>(
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3744:23: note: in instantiation of member function 'absl::container_internal::common_policy_traits<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>>::transfer_uses_memcpy' requested here
3744 | if (PolicyTraits::transfer_uses_memcpy() || !had_soo_slot) {
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:3712:19: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize_impl' requested here
3712 | raw_hash_set::resize_impl(common(), new_capacity, HashtablezInfoHandle{});
| ^
/usr/local/clang/include/absl/container/internal/raw_hash_set.h:2664:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::resize' requested here
2664 | resize(NormalizeCapacity(bucket_count));
| ^
../src/s2/s2closest_edge_query_base.h:481:7: note: in instantiation of member function 'absl::container_internal::raw_hash_set<absl::container_internal::FlatHashSetPolicy<s2shapeutil::ShapeEdgeId>, absl::hash_internal::Hash<s2shapeutil::ShapeEdgeId>, std::equal_to<s2shapeutil::ShapeEdgeId>, std::allocator<s2shapeutil::ShapeEdgeId>>::raw_hash_set' requested here
481 | : tested_edges_(/*bucket_count=*/1) {}
| ^
../src/s2/s2closest_edge_query.h:375:28: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::S2ClosestEdgeQueryBase' requested here
375 | inline S2ClosestEdgeQuery::S2ClosestEdgeQuery(const S2ShapeIndex* index,
| ^
In file included from s2/s2shape_index.cc:18:
In file included from ../src/s2/s2shape_index.h:60:
In file included from ../src/s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2shape_index_buffered_region.cc:18:
In file included from ../src/s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<int>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<int>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<int>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<int>>::transfer<std::allocator<int>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::internal_emplace<int>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:334:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>::insert_unique<int, int>' requested here
334 | return this->tree_.insert_unique(params_type::key(v), std::move(v));
| ^
../src/s2/s2closest_edge_query_base.h:578:21: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<int, std::less<int>, std::allocator<int>, 256, false>>>::insert' requested here
578 | shape_ids.insert(containing_shape->id());
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
In file included from s2/s2shape_nesting_query.cc:17:
In file included from ../src/s2/s2shape_nesting_query.h:24:
In file included from /usr/local/clang/include/absl/container/inlined_vector.h:54:
In file included from /usr/local/clang/include/absl/container/internal/inlined_vector.h:32:
In file included from /usr/local/clang/include/absl/container/internal/compressed_tuple.h:40:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2shape_nesting_query.cc:17:
In file included from ../src/s2/s2shape_nesting_query.h:24:
In file included from /usr/local/clang/include/absl/container/inlined_vector.h:54:
In file included from /usr/local/clang/include/absl/container/internal/inlined_vector.h:35:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2shape_index_measures.cc:18:
In file included from ../src/s2/s2shape_index_measures.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2shape_index_measures.cc:18:
In file included from ../src/s2/s2shape_index_measures.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2shape_index_measures.cc:18:
In file included from ../src/s2/s2shape_index_measures.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2shape_index_buffered_region.cc:18:
In file included from ../src/s2/s2shape_index_buffered_region.h:23:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<S2ClosestEdgeQueryBase<S2MinDistance>::Result>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::set_slot_policy<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>::transfer<std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:330:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>::insert_unique<S2ClosestEdgeQueryBase<S2MinDistance>::Result, const S2ClosestEdgeQueryBase<S2MinDistance>::Result &>' requested here
330 | return this->tree_.insert_unique(params_type::key(v), v);
| ^
../src/s2/s2closest_edge_query_base.h:872:17: note: in instantiation of member function 'absl::container_internal::btree_set_container<absl::container_internal::btree<absl::container_internal::set_params<S2ClosestEdgeQueryBase<S2MinDistance>::Result, std::less<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, std::allocator<S2ClosestEdgeQueryBase<S2MinDistance>::Result>, 256, false>>>::insert' requested here
872 | result_set_.insert(result);
| ^
../src/s2/s2closest_edge_query_base.h:582:7: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::AddResult' requested here
582 | AddResult(Result(Distance::Zero(), shape_id, -1));
| ^
../src/s2/s2closest_edge_query_base.h:537:3: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdgesInternal' requested here
537 | FindClosestEdgesInternal(target, options);
| ^
../src/s2/s2closest_edge_query.h:409:9: note: in instantiation of member function 'S2ClosestEdgeQueryBase<S2MinDistance>::FindClosestEdges' requested here
409 | base_.FindClosestEdges(target, options_, results);
| ^
In file included from s2/s2shape_measures.cc:18:
In file included from ../src/s2/s2shape_measures.h:27:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2shape_measures.cc:18:
In file included from ../src/s2/s2shape_measures.h:27:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2region.cc:18:
In file included from ../src/s2/s2region.h:24:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2shapeutil_coding.cc:18:
In file included from ../src/s2/s2shapeutil_coding.h:41:
In file included from ../src/s2/base/casts.h:32:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2shape_index.cc:18:
In file included from ../src/s2/s2shape_index.h:60:
In file included from ../src/s2/s2cell_id.h:43:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2shape_index.cc:18:
In file included from ../src/s2/s2shape_index.h:60:
In file included from ../src/s2/s2cell_id.h:43:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
In file included from s2/s2shapeutil_coding.cc:18:
In file included from ../src/s2/s2shapeutil_coding.h:41:
In file included from ../src/s2/base/casts.h:34:
In file included from /usr/local/clang/include/absl/log/log.h:200:
In file included from /usr/local/clang/include/absl/log/internal/log_impl.h:18:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h/usr/local/clang/include/absl/log/absl_vlog_is_on.h::15863::
22In file included from :/usr/local/clang/include/absl/log/internal/vlog_config.h :warning: 39'enable_if' is a clang extension [-Wgcc-compat]:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h :158154 | :
/usr/local/clang/include/absl/base/internal/nullability_impl.h : 38 : 9 :_ _warning: atype nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]t
trib u38t | e _ _ ( (=e nTa b_lNeu_lilfa(bVlael;i
d F| o ^r
matImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| /usr/local/clang/include/absl/strings/internal/str_format/bind.h ^:
162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute/usr/local/clang/include/absl/base/internal/nullability_impl.h_:_60(:(9e:n awarning: btype nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]l
e_i f60( | V a l i d=F oTr m_aNtuIlmlp_lu<nAsrpgesc.i.f.i>e(ds;)
, | " ^b
ad format trap")))
| ^
In file included from s2/s2shape_index.cc:18:
In file included from ../src/s2/s2shape_index.h:54:
In file included from /usr/local/clang/include/absl/synchronization/mutex.h:75:
In file included from /usr/local/clang/include/absl/synchronization/internal/kernel_timeout.h:30:
In file included from /usr/local/clang/include/absl/time/clock.h:29:
In file included from /usr/local/clang/include/absl/time/time.h:101:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
13 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2wedge_relations.cc -o s2/s2wedge_relations.o
In file included from s2/s2shape_nesting_query.cc:17:
In file included from ../src/s2/s2shape_nesting_query.h:26:
In file included from ../src/s2/s2shape.h:25:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:83:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/arg.h:35:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2shape_nesting_query.cc:17:
In file included from ../src/s2/s2shape_nesting_query.h:26:
In file included from ../src/s2/s2shape.h:25:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2shape_nesting_query.cc:17:
In file included from ../src/s2/s2shape_nesting_query.h:26:
In file included from ../src/s2/s2shape.h:25:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2shape_nesting_query.cc:17:
In file included from ../src/s2/s2shape_nesting_query.h:24:
In file included from /usr/local/clang/include/absl/container/inlined_vector.h:54:
In file included from /usr/local/clang/include/absl/container/internal/inlined_vector.h:32:
In file included from /usr/local/clang/include/absl/container/internal/compressed_tuple.h:40:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
23 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/s2winding_operation.cc -o s2/s2winding_operation.o
In file included from s2/s2shape_index_measures.cc:18:
In file included from ../src/s2/s2shape_index_measures.h:25:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= In file included from s2/s2shapeutil_coding.cc:18:
In file included from ../src/s2/s2shapeutil_coding.h:42:
In file included from ../src/s2/util/coding/coder.h:33:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2shape_measures.cc:18:
In file included from ../src/s2/s2shape_measures.h:27:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2shape_measures.cc:18:
In file included from ../src/s2/s2shape_measures.h:27:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2shape_measures.cc:18:
In file included from ../src/s2/s2shape_measures.h:27:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2shapeutil_edge_iterator.cc:16:
In file included from ../src/s2/s2shapeutil_edge_iterator.h:22:
In file included from ../src/s2/s2shape.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2shapeutil_edge_iterator.cc:16:
In file included from ../src/s2/s2shapeutil_edge_iterator.h:22:
In file included from ../src/s2/s2shape.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2shapeutil_get_reference_point.cc:18:
In file included from ../src/s2/s2shapeutil_get_reference_point.h:21:
In file included from ../src/s2/s2shape.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2shapeutil_get_reference_point.cc:18:
In file included from ../src/s2/s2shapeutil_get_reference_point.h:21:
In file included from ../src/s2/s2shape.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2shapeutil_visit_crossing_edge_pairs.cc:18:
In file included from ../src/s2/s2shapeutil_visit_crossing_edge_pairs.h:23:
In file included from ../src/s2/s2crossing_edge_query.h:27:
In file included from /usr/local/clang/include/absl/container/inlined_vector.h:54:
In file included from /usr/local/clang/include/absl/container/internal/inlined_vector.h:32:
In file included from /usr/local/clang/include/absl/container/internal/compressed_tuple.h:40:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2shapeutil_visit_crossing_edge_pairs.cc:18:
In file included from ../src/s2/s2shapeutil_visit_crossing_edge_pairs.h:23:
In file included from ../src/s2/s2crossing_edge_query.h:27:
In file included from /usr/local/clang/include/absl/container/inlined_vector.h:54:
In file included from /usr/local/clang/include/absl/container/internal/inlined_vector.h:35:
In file included from /usr/local/clang/include/absl/types/span.h:67:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2shape_index.cc:18:
In file included from ../src/s2/s2shape_index.h:54:
In file included from /usr/local/clang/include/absl/synchronization/mutex.h:75:
In file included from /usr/local/clang/include/absl/synchronization/internal/kernel_timeout.h:30:
In file included from /usr/local/clang/include/absl/time/clock.h:29:
In file included from /usr/local/clang/include/absl/time/time.h:101:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2shapeutil_conversion.cc:18:
In file included from ../src/s2/s2shapeutil_conversion.h:27:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2shapeutil_build_polygon_boundaries.cc:18:
In file included from ../src/s2/s2shapeutil_build_polygon_boundaries.h:23:
In file included from ../src/s2/s2shape.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2shapeutil_build_polygon_boundaries.cc:18:
In file included from ../src/s2/s2shapeutil_build_polygon_boundaries.h:23:
In file included from ../src/s2/s2shape.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2shapeutil_coding.cc:18:
In file included from ../src/s2/s2shapeutil_coding.h:44:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2shapeutil_coding.cc:18:
In file included from ../src/s2/s2shapeutil_coding.h:44:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
13 warnings generated.
In file included from s2/s2shapeutil_coding.cc:18:
In file included from ../src/s2/s2shapeutil_coding.h:41:
In file included from ../src/s2/base/casts.h:32:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2shapeutil_contains_brute_force.cc:18:
In file included from ../src/s2/s2shapeutil_contains_brute_force.h:21:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2text_format.cc:16:
In file included from ../src/s2/s2text_format.h:31:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2text_format.cc:16:
In file included from ../src/s2/s2text_format.h:31:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2text_format.cc:16:
In file included from ../src/s2/s2text_format.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
In file included from /usr/local/clang/include/absl/strings/numbers.h:48:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
13 warnings generated.
In file included from s2/s2shapeutil_get_reference_point.cc:18:
In file included from ../src/s2/s2shapeutil_get_reference_point.h:21:
In file included from ../src/s2/s2shape.h:25:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:83:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/arg.h:35:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/util/bits/bit-interleave.cc -o s2/util/bits/bit-interleave.o
In file included from s2/s2text_format.cc:16:
In file included from ../src/s2/s2text_format.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2text_format.cc:16:
In file included from ../src/s2/s2text_format.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2text_format.cc:16:
In file included from ../src/s2/s2text_format.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2text_format.cc:16:
In file included from ../src/s2/s2text_format.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2text_format.cc:16:
In file included from ../src/s2/s2text_format.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_conversion.cc:18:
In file included from ../src/s2/s2shapeutil_conversion.h:27:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2shape_nesting_query.cc:17:
In file included from ../src/s2/s2shape_nesting_query.h:24:
In file included from /usr/local/clang/include/absl/container/inlined_vector.h:54:
In file included from /usr/local/clang/include/absl/container/internal/inlined_vector.h:32:
In file included from /usr/local/clang/include/absl/container/internal/compressed_tuple.h:40:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<int>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<int>, std::is_same<std::allocator<int>, std::allocator<int>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<int, 4, std::allocator<int>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
../src/s2/s2shape_nesting_query.h:152:67: note: in instantiation of template class 'absl::InlinedVector<int, 4>' requested here
152 | absl::InlinedVector<int32, 2 * sizeof(void*) / sizeof(int32)> holes_;
| ^
In file included from s2/s2shapeutil_contains_brute_force.cc:18:
In file included from ../src/s2/s2shapeutil_contains_brute_force.h:21:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2shapeutil_get_reference_point.cc:18:
In file included from ../src/s2/s2shapeutil_get_reference_point.h:21:
In file included from ../src/s2/s2shape.h:25:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2shapeutil_get_reference_point.cc:18:
In file included from ../src/s2/s2shapeutil_get_reference_point.h:21:
In file included from ../src/s2/s2shape.h:25:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2shapeutil_get_reference_point.cc:18:
In file included from ../src/s2/s2shapeutil_get_reference_point.h:21:
In file included from ../src/s2/s2shape.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2shapeutil_contains_brute_force.cc:18:
In file included from ../src/s2/s2shapeutil_contains_brute_force.h:21:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2shapeutil_conversion.cc:18:
In file included from ../src/s2/s2shapeutil_conversion.h:27:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2text_format.cc:16:
In file included from ../src/s2/s2text_format.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2text_format.cc:16:
In file included from ../src/s2/s2text_format.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:70:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2text_format.cc:16:
In file included from ../src/s2/s2text_format.h:31:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/util/coding/coder.cc -o s2/util/coding/coder.o
In file included from s2/s2shapeutil_edge_iterator.cc:16:
In file included from ../src/s2/s2shapeutil_edge_iterator.h:22:
In file included from ../src/s2/s2shape.h:25:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:83:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/arg.h:35:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2shapeutil_visit_crossing_edge_pairs.cc:18:
In file included from ../src/s2/s2shapeutil_visit_crossing_edge_pairs.h:23:
In file included from ../src/s2/s2crossing_edge_query.h:31:
In file included from ../src/s2/s2padded_cell.h:23:
In file included from ../src/s2/s2cell_id.h:32:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2shape_nesting_query.cc:17:
In file included from ../src/s2/s2shape_nesting_query.h:24:
In file included from /usr/local/clang/include/absl/container/inlined_vector.h:54:
In file included from /usr/local/clang/include/absl/container/internal/inlined_vector.h:32:
In file included from /usr/local/clang/include/absl/container/internal/compressed_tuple.h:40:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2shape_measures.cc:18:
In file included from ../src/s2/s2shape_measures.h:27:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2shapeutil_edge_iterator.cc:16:
In file included from ../src/s2/s2shapeutil_edge_iterator.h:22:
In file included from ../src/s2/s2shape.h:25:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2shapeutil_edge_iterator.cc:16:
In file included from ../src/s2/s2shapeutil_edge_iterator.h:22:
In file included from ../src/s2/s2shape.h:25:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2shapeutil_edge_iterator.cc:16:
In file included from ../src/s2/s2shapeutil_edge_iterator.h:22:
In file included from ../src/s2/s2shape.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
13 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/util/coding/varint.cc -o s2/util/coding/varint.o
In file included from s2/s2shapeutil_build_polygon_boundaries.cc:18:
In file included from ../src/s2/s2shapeutil_build_polygon_boundaries.h:23:
In file included from ../src/s2/s2shape.h:25:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:83:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/arg.h:35:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2shapeutil_coding.cc:28:
In file included from ../src/s2/s2lax_polygon_shape.h:36:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_coding.cc:28:
In file included from ../src/s2/s2lax_polygon_shape.h:36:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_coding.cc:28:
In file included from ../src/s2/s2lax_polygon_shape.h:36:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_coding.cc:28:
In file included from ../src/s2/s2lax_polygon_shape.h:36:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_coding.cc:28:
In file included from ../src/s2/s2lax_polygon_shape.h:36:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_visit_crossing_edge_pairs.cc:18:
In file included from ../src/s2/s2shapeutil_visit_crossing_edge_pairs.h:23:
In file included from ../src/s2/s2crossing_edge_query.h:31:
In file included from ../src/s2/s2padded_cell.h:23:
In file included from ../src/s2/s2cell_id.h:43:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2shapeutil_visit_crossing_edge_pairs.cc:18:
In file included from ../src/s2/s2shapeutil_visit_crossing_edge_pairs.h:23:
In file included from ../src/s2/s2crossing_edge_query.h:31:
In file included from ../src/s2/s2padded_cell.h:23:
In file included from ../src/s2/s2cell_id.h:43:
In file included from ../src/s2/s1angle.h:28:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2shapeutil_visit_crossing_edge_pairs.cc:18:
In file included from ../src/s2/s2shapeutil_visit_crossing_edge_pairs.h:23:
In file included from ../src/s2/s2crossing_edge_query.h:27:
In file included from /usr/local/clang/include/absl/container/inlined_vector.h:54:
In file included from /usr/local/clang/include/absl/container/internal/inlined_vector.h:32:
In file included from /usr/local/clang/include/absl/container/internal/compressed_tuple.h:40:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2shapeutil_get_reference_point.cc:23:
In file included from ../src/s2/s2contains_vertex_query.h:21:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_get_reference_point.cc:23:
In file included from ../src/s2/s2contains_vertex_query.h:21:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_get_reference_point.cc:23:
In file included from ../src/s2/s2contains_vertex_query.h:21:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_get_reference_point.cc:23:
In file included from ../src/s2/s2contains_vertex_query.h:21:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_get_reference_point.cc:23:
In file included from ../src/s2/s2contains_vertex_query.h:21:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_contains_brute_force.cc:18:
In file included from ../src/s2/s2shapeutil_contains_brute_force.h:21:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2shapeutil_contains_brute_force.cc:18:
In file included from ../src/s2/s2shapeutil_contains_brute_force.h:21:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2wedge_relations.cc:18:
In file included from ../src/s2/s2wedge_relations.h:24:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2shapeutil_contains_brute_force.cc:18:
In file included from ../src/s2/s2shapeutil_contains_brute_force.h:21:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
14 warnings generated.
In file included from s2/s2shapeutil_build_polygon_boundaries.cc:18:
In file included from ../src/s2/s2shapeutil_build_polygon_boundaries.h:23:
In file included from ../src/s2/s2shape.h:25:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2shapeutil_build_polygon_boundaries.cc:18:
In file included from ../src/s2/s2shapeutil_build_polygon_boundaries.h:23:
In file included from ../src/s2/s2shape.h:25:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2shapeutil_conversion.cc:18:
In file included from ../src/s2/s2shapeutil_conversion.h:27:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2shapeutil_conversion.cc:18:
In file included from ../src/s2/s2shapeutil_conversion.h:27:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attriIn file included from bs2/s2shapeutil_build_polygon_boundaries.ccu:t18e:
_In file included from _../src/s2/s2shapeutil_build_polygon_boundaries.h(:(23e:
nIn file included from a../src/s2/s2shape.hb:l24e:
_In file included from i../src/s2/base/logging.hf:(21V:
aIn file included from l/usr/local/clang/include/absl/log/check.hi:d37F:
oIn file included from r/usr/local/clang/include/absl/log/internal/check_impl.hm:a19t:
IIn file included from m/usr/local/clang/include/absl/log/internal/check_op.hp:l35<:
AIn file included from r/usr/local/clang/include/absl/base/casts.hg:s38.:
./usr/local/clang/include/absl/meta/type_traits.h.:>527(:s22):, warning: "builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]b
ad for m527at trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
| (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2shapeutil_conversion.cc:18:
In file included from ../src/s2/s2shapeutil_conversion.h:27:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2shapeutil_get_reference_point.cc:18:
In file included from ../src/s2/s2shapeutil_get_reference_point.h:21:
In file included from ../src/s2/s2shape.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/util/math/exactfloat/exactfloat.cc -o s2/util/math/exactfloat/exactfloat.o
In file included from s2/s2shapeutil_get_reference_point.cc:18:
In file included from ../src/s2/s2shapeutil_get_reference_point.h:21:
In file included from ../src/s2/s2shape.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<std::pair<const S2Point, int>>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<std::pair<const S2Point, int>>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<std::pair<const S2Point, int>>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::map_slot_policy<S2Point, int>>::transfer<std::allocator<std::pair<const S2Point, int>>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::map_params<S2Point, int, std::less<S2Point>, std::allocator<std::pair<const S2Point, int>>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<S2Point, int, std::less<S2Point>, std::allocator<std::pair<const S2Point, int>>, 256, false>>::internal_emplace<const std::piecewise_construct_t &, std::tuple<const S2Point &>, std::tuple<>>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:584:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<S2Point, int, std::less<S2Point>, std::allocator<std::pair<const S2Point, int>>, 256, false>>::insert_unique<S2Point, const std::piecewise_construct_t &, std::tuple<const S2Point &>, std::tuple<>>' requested here
584 | return this->tree_.insert_unique(
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:517:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<S2Point, int, std::less<S2Point>, std::allocator<std::pair<const S2Point, int>>, 256, false>>>::try_emplace_impl<const S2Point &>' requested here
517 | return try_emplace_impl(k, std::forward<Args>(args)...);
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:540:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<S2Point, int, std::less<S2Point>, std::allocator<std::pair<const S2Point, int>>, 256, false>>>::try_emplace<S2Point, 0>' requested here
540 | return try_emplace(k).first->second;
| ^
../src/s2/s2contains_vertex_query.h:63:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<S2Point, int, std::less<S2Point>, std::allocator<std::pair<const S2Point, int>>, 256, false>>>::operator[]<S2Point>' requested here
63 | edge_map_[v] += direction;
| ^
In file included from s2/s2wedge_relations.cc:18:
In file included from ../src/s2/s2wedge_relations.h:24:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:62:
In file included from /usr/local/clang/include/absl/base/internal/endian.h:24:
In file included from /usr/local/clang/include/absl/base/internal/unaligned_access.h:26:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2wedge_relations.cc:18:
In file included from ../src/s2/s2wedge_relations.h:24:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2shapeutil_coding.cc:18:
In file included from ../src/s2/s2shapeutil_coding.h:41:
In file included from ../src/s2/base/casts.h:32:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2winding_operation.cc:19:
In file included from ../src/s2/s2winding_operation.h:23:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/s2winding_operation.cc:19:
In file included from ../src/s2/s2winding_operation.h:23:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/s2shapeutil_visit_crossing_edge_pairs.cc:18:
In file included from ../src/s2/s2shapeutil_visit_crossing_edge_pairs.h:23:
In file included from ../src/s2/s2crossing_edge_query.h:27:
In file included from /usr/local/clang/include/absl/container/inlined_vector.h:54:
In file included from /usr/local/clang/include/absl/container/internal/inlined_vector.h:32:
In file included from /usr/local/clang/include/absl/container/internal/compressed_tuple.h:40:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<s2shapeutil::ShapeEdge>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<s2shapeutil::ShapeEdge>, std::is_same<std::allocator<s2shapeutil::ShapeEdge>, std::allocator<s2shapeutil::ShapeEdge>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<s2shapeutil::ShapeEdge, 16, std::allocator<s2shapeutil::ShapeEdge>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
s2/s2shapeutil_visit_crossing_edge_pairs.cc:57:18: note: in instantiation of template class 'absl::InlinedVector<s2shapeutil::ShapeEdge, 16>' requested here
57 | shape_edges->push_back(ShapeEdge(shape, clipped.edge(i)));
| ^
In file included from s2/s2shapeutil_conversion.cc:18:
In file included from ../src/s2/s2shapeutil_conversion.h:28:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_conversion.cc:18:
In file included from ../src/s2/s2shapeutil_conversion.h:28:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_conversion.cc:18:
In file included from ../src/s2/s2shapeutil_conversion.h:28:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_conversion.cc:18:
In file included from ../src/s2/s2shapeutil_conversion.h:28:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_conversion.cc:18:
In file included from ../src/s2/s2shapeutil_conversion.h:28:
In file included from ../src/s2/s2polygon.h:34:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/util/coding/coder.cc:19:
In file included from ../src/s2/util/coding/coder.h:32:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/util/coding/coder.cc:19:
In file included from ../src/s2/util/coding/coder.h:33:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/util/math/mathutil.cc -o s2/util/math/mathutil.o
In file included from s2/util/coding/coder.cc:19:
In file included from ../src/s2/util/coding/coder.h:36:
In file included from ../src/s2/base/casts.h:34:
In file included from /usr/local/clang/include/absl/log/log.h:200:
In file included from /usr/local/clang/include/absl/log/internal/log_impl.h:18:
In file included from /usr/local/clang/include/absl/log/absl_vlog_is_on.h:63:
In file included from /usr/local/clang/include/absl/log/internal/vlog_config.h:39:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
19 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../src -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/wk/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include -pthread -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c s2/util/units/length-units.cc -o s2/util/units/length-units.o
In file included from s2/s2shapeutil_edge_iterator.cc:20:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_edge_iterator.cc:20:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_edge_iterator.cc:20:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_edge_iterator.cc:20:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_edge_iterator.cc:20:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2winding_operation.cc:19:
In file included from ../src/s2/s2winding_operation.h:23:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:56:
In file included from /usr/local/clang/include/absl/hash/hash.h:89:
In file included from /usr/local/clang/include/absl/hash/internal/hash.h:71:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2shapeutil_contains_brute_force.cc:18:
In file included from ../src/s2/s2shapeutil_contains_brute_force.h:21:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
18 warnings generated.
In file included from s2/s2shapeutil_build_polygon_boundaries.cc:24:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_build_polygon_boundaries.cc:24:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_build_polygon_boundaries.cc:24:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_build_polygon_boundaries.cc:24:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2shapeutil_build_polygon_boundaries.cc:24:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
13 warnings generated.
In file included from s2/s2shapeutil_edge_iterator.cc:16:
In file included from ../src/s2/s2shapeutil_edge_iterator.h:22:
In file included from ../src/s2/s2shape.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2winding_operation.cc:19:
In file included from ../src/s2/s2winding_operation.h:23:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2winding_operation.cc:19:
In file included from ../src/s2/s2winding_operation.h:23:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:43:
In file included from /usr/local/clang/include/absl/container/hash_container_defaults.h:19:
In file included from /usr/local/clang/include/absl/container/internal/hash_function_defaults.h:58:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2winding_operation.cc:19:
In file included from ../src/s2/s2winding_operation.h:23:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
In file included from s2/s2shapeutil_visit_crossing_edge_pairs.cc:18:
In file included from ../src/s2/s2shapeutil_visit_crossing_edge_pairs.h:23:
In file included from ../src/s2/s2crossing_edge_query.h:27:
In file included from /usr/local/clang/include/absl/container/inlined_vector.h:54:
In file included from /usr/local/clang/include/absl/container/internal/inlined_vector.h:32:
In file included from /usr/local/clang/include/absl/container/internal/compressed_tuple.h:40:
In file included from /usr/local/clang/include/absl/utility/utility.h:45:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2wedge_relations.cc:18:
In file included from ../src/s2/s2wedge_relations.h:24:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
In file included from /usr/local/clang/include/absl/strings/internal/str_format/bind.h:29:
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:225:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
225 | enable_if(str_format_internal::EnsureConstexpr(format),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/parser.h:227:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
227 | enable_if(str_format_internal::ValidFormatImpl<C...>(format),
| ^
In file included from s2/s2wedge_relations.cc:18:
In file included from ../src/s2/s2wedge_relations.h:24:
In file included from ../src/s2/s2point.h:27:
In file included from ../src/s2/s2coder.h:23:
In file included from /usr/local/clang/include/absl/status/status.h:66:
In file included from /usr/local/clang/include/absl/status/internal/status_internal.h:27:
In file included from /usr/local/clang/include/absl/strings/cord.h:80:
In file included from /usr/local/clang/include/absl/crc/internal/crc_cord_state.h:23:
In file included from /usr/local/clang/include/absl/crc/crc32c.h:32:
In file included from /usr/local/clang/include/absl/strings/str_format.h:84:
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:143:11: warning: 'enable_if' is a clang extension [-Wgcc-compat]
143 | enable_if(str_format_internal::EnsureConstexpr(s), "constexpr trap"),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:149:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
149 | __attribute__((enable_if(str_format_internal::EnsureConstexpr(s),
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:158:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
158 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:162:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
162 | __attribute__((enable_if(ValidFormatImpl<Args...>(s), "bad format trap")))
| ^
In file included from s2/s2wedge_relations.cc:18:
In file included from ../src/s2/s2wedge_relations.h:24:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::str_format_internal::FormatArgImpl>, std::is_same<std::allocator<absl::str_format_internal::FormatArgImpl>, std::allocator<absl::str_format_internal::FormatArgImpl>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::str_format_internal::FormatArgImpl, 4, std::allocator<absl::str_format_internal::FormatArgImpl>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/usr/local/clang/include/absl/strings/internal/str_format/bind.h:194:41: note: in instantiation of template class 'absl::InlinedVector<absl::str_format_internal::FormatArgImpl, 4>' requested here
194 | absl::InlinedVector<FormatArgImpl, 4> args_;
| ^
18 warnings generated.
In file included from s2/util/math/exactfloat/exactfloat.cc:18:
In file included from ../src/s2/util/math/exactfloat/exactfloat.h:126:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/util/math/exactfloat/exactfloat.cc:18:
In file included from ../src/s2/util/math/exactfloat/exactfloat.h:126:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
5 warnings generated.
In file included from s2/s2shapeutil_conversion.cc:18:
In file included from ../src/s2/s2shapeutil_conversion.h:27:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/util/math/exactfloat/exactfloat.cc:35:
In file included from /usr/local/clang/include/absl/numeric/int128.h:41:
/usr/local/clang/include/absl/types/compare.h:78:22: warning: 'enable_if' is a clang extension [-Wgcc-compat]
78 | __attribute__((enable_if(n == 0, "Only literal `0` is allowed."))) {}
| ^
In file included from s2/s2text_format.cc:16:
In file included from ../src/s2/s2text_format.h:31:
In file included from /usr/local/clang/include/absl/strings/string_view.h:40:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/s2shapeutil_build_polygon_boundaries.cc:18:
In file included from ../src/s2/s2shapeutil_build_polygon_boundaries.h:23:
In file included from ../src/s2/s2shape.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
In file included from s2/util/coding/varint.cc:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/util/coding/varint.cc:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
In file included from s2/util/math/mathutil.cc:17:
In file included from ../src/s2/util/math/mathutil.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
In file included from s2/util/math/mathutil.cc:17:
In file included from ../src/s2/util/math/mathutil.h:27:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:37:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
/usr/local/clang/include/absl/base/internal/nullability_impl.h:38:9: warning: type nullability specifier '_Nullable' is a Clang extension [-Wnullability-extension]
38 | = T _Nullable;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:49:9: warning: type nullability specifier '_Nonnull' is a Clang extension [-Wnullability-extension]
49 | = T _Nonnull;
| ^
/usr/local/clang/include/absl/base/internal/nullability_impl.h:60:9: warning: type nullability specifier '_Null_unspecified' is a Clang extension [-Wnullability-extension]
60 | = T _Null_unspecified;
| ^
18 warnings generated.
5 warnings generated.
4 warnings generated.
In file included from s2/s2shapeutil_build_polygon_boundaries.cc:18:
In file included from ../src/s2/s2shapeutil_build_polygon_boundaries.h:23:
In file included from ../src/s2/s2shape.h:24:
In file included from ../src/s2/base/logging.h:21:
In file included from /usr/local/clang/include/absl/log/check.h:37:
In file included from /usr/local/clang/include/absl/log/internal/check_impl.h:19:
In file included from /usr/local/clang/include/absl/log/internal/check_op.h:35:
In file included from /usr/local/clang/include/absl/base/casts.h:38:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:126:41: note: in instantiation of template class 'absl::is_trivially_relocatable<std::pair<S2Shape *const, std::vector<S2Shape *>>>' requested here
126 | typename = std::enable_if_t<absl::is_trivially_relocatable<
| ^
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:128:25: note: in instantiation of default argument for 'transfer_impl<std::allocator<std::pair<S2Shape *const, std::vector<S2Shape *>>>>' required here
128 | static std::true_type transfer_impl(Alloc*, slot_type* new_slot,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | slot_type* old_slot, Rank1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | // TODO(b/247130232): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131 | // TODO(b/251814870): remove casts after fixing warnings.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | std::memcpy(
| ~~~~~~~~~~~~
133 | static_cast<void*>(std::launder(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | const_cast<std::remove_const_t<value_type>*>(&element(new_slot)))),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 | static_cast<const void*>(&element(old_slot)), sizeof(value_type));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return {};
| ~~~~~~~~~~
137 | }
| ~
/usr/local/clang/include/absl/container/internal/common_policy_traits.h:76:5: note: while substituting deduced template arguments into function template 'transfer_impl' [with Alloc = std::allocator<std::pair<S2Shape *const, std::vector<S2Shape *>>>, $1 = (no value)]
76 | transfer_impl(alloc, new_slot, old_slot, Rank2{});
| ^
/usr/local/clang/include/absl/container/internal/btree.h:998:18: note: in instantiation of function template specialization 'absl::container_internal::common_policy_traits<absl::container_internal::map_slot_policy<S2Shape *, std::vector<S2Shape *>>>::transfer<std::allocator<std::pair<S2Shape *const, std::vector<S2Shape *>>>>' requested here
998 | params_type::transfer(alloc, dest, src);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:1018:7: note: in instantiation of member function 'absl::container_internal::btree_node<absl::container_internal::map_params<S2Shape *, std::vector<S2Shape *>, std::less<S2Shape *>, std::allocator<std::pair<S2Shape *const, std::vector<S2Shape *>>>, 256, false>>::transfer' requested here
1018 | transfer(dest, src, alloc);
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2824:15: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2824 | new_node->transfer_n(old_node->count(), new_node->start(),
| ^
/usr/local/clang/include/absl/container/internal/btree.h:2291:11: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<S2Shape *, std::vector<S2Shape *>, std::less<S2Shape *>, std::allocator<std::pair<S2Shape *const, std::vector<S2Shape *>>>, 256, false>>::internal_emplace<const std::piecewise_construct_t &, std::tuple<S2Shape *const &>, std::tuple<>>' requested here
2291 | return {internal_emplace(iter, std::forward<Args>(args)...), true};
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:584:24: note: in instantiation of function template specialization 'absl::container_internal::btree<absl::container_internal::map_params<S2Shape *, std::vector<S2Shape *>, std::less<S2Shape *>, std::allocator<std::pair<S2Shape *const, std::vector<S2Shape *>>>, 256, false>>::insert_unique<S2Shape *, const std::piecewise_construct_t &, std::tuple<S2Shape *const &>, std::tuple<>>' requested here
584 | return this->tree_.insert_unique(
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:517:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<S2Shape *, std::vector<S2Shape *>, std::less<S2Shape *>, std::allocator<std::pair<S2Shape *const, std::vector<S2Shape *>>>, 256, false>>>::try_emplace_impl<S2Shape *const &>' requested here
517 | return try_emplace_impl(k, std::forward<Args>(args)...);
| ^
/usr/local/clang/include/absl/container/internal/btree_container.h:540:12: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<S2Shape *, std::vector<S2Shape *>, std::less<S2Shape *>, std::allocator<std::pair<S2Shape *const, std::vector<S2Shape *>>>, 256, false>>>::try_emplace<S2Shape *, 0>' requested here
540 | return try_emplace(k).first->second;
| ^
s2/s2shapeutil_build_polygon_boundaries.cc:104:13: note: in instantiation of function template specialization 'absl::container_internal::btree_map_container<absl::container_internal::btree<absl::container_internal::map_params<S2Shape *, std::vector<S2Shape *>, std::less<S2Shape *>, std::allocator<std::pair<S2Shape *const, std::vector<S2Shape *>>>, 256, false>>>::operator[]<S2Shape *>' requested here
104 | children[ancestor].push_back(outer_loops[i]);
| ^
In file included from s2/s2winding_operation.cc:19:
In file included from ../src/s2/s2winding_operation.h:23:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:174:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
174 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2winding_operation.cc:19:
In file included from ../src/s2/s2winding_operation.h:23:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:176:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
176 | ABSL_INTERNAL_NEED_MIN_SIZE(out_str, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2winding_operation.cc:19:
In file included from ../src/s2/s2winding_operation.h:23:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:178:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
178 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2winding_operation.cc:19:
In file included from ../src/s2/s2winding_operation.h:23:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:180:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
180 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize);
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2winding_operation.cc:19:
In file included from ../src/s2/s2winding_operation.h:23:
In file included from ../src/s2/s2builder.h:36:
In file included from ../src/s2/mutable_s2shape_index.h:30:
In file included from /usr/local/clang/include/absl/container/btree_map.h:59:
In file included from /usr/local/clang/include/absl/container/internal/btree.h:67:
In file included from /usr/local/clang/include/absl/container/internal/layout.h:199:
In file included from /usr/local/clang/include/absl/strings/str_cat.h:111:
/usr/local/clang/include/absl/strings/numbers.h:186:5: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
186 | ABSL_INTERNAL_NEED_MIN_SIZE(buffer, kFastToBufferSize) {
| ^
/usr/local/clang/include/absl/base/macros.h:212:18: note: expanded from macro 'ABSL_INTERNAL_NEED_MIN_SIZE'
212 | __attribute__((diagnose_if(__builtin_object_size(Obj, 0) < N, \
| ^
In file included from s2/s2wedge_relations.cc:18:
In file included from ../src/s2/s2wedge_relations.h:24:
In file included from ../src/s2/s2point.h:24:
In file included from /usr/local/clang/include/absl/hash/hash.h:88:
In file included from /usr/local/clang/include/absl/functional/function_ref.h:54:
In file included from /usr/local/clang/include/absl/functional/internal/function_ref.h:23:
In file included from /usr/local/clang/include/absl/functional/any_invocable.h:43:
In file included from /usr/local/clang/include/absl/functional/internal/any_invocable.h:71:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
4 warnings generated.
13 warnings generated.
14 warnings generated.
In file included from s2/s2winding_operation.cc:19:
In file included from ../src/s2/s2winding_operation.h:23:
In file included from ../src/s2/s2builder.h:31:
In file included from /usr/local/clang/include/absl/container/flat_hash_set.h:40:
In file included from /usr/local/clang/include/absl/algorithm/container.h:57:
In file included from /usr/local/clang/include/absl/base/nullability.h:154:
In file included from /usr/local/clang/include/absl/base/internal/nullability_impl.h:23:
/usr/local/clang/include/absl/meta/type_traits.h:527:22: warning: builtin __is_trivially_relocatable is deprecated; use __builtin_is_cpp_trivially_relocatable instead [-Wdeprecated-builtins]
527 | (__is_trivially_relocatable(T) &&
| ^
/usr/local/clang/include/absl/meta/type_traits.h:147:24: note: in instantiation of template class 'absl::is_trivially_relocatable<absl::status_internal::Payload>' requested here
147 | : std::conditional<T::value, conjunction<Ts...>, T>::type {};
| ^
/usr/local/clang/include/absl/container/internal/inlined_vector.h:324:7: note: in instantiation of template class 'absl::conjunction<absl::is_trivially_relocatable<absl::status_internal::Payload>, std::is_same<std::allocator<absl::status_internal::Payload>, std::allocator<absl::status_internal::Payload>>>' requested here
324 | absl::conjunction<absl::is_trivially_relocatable<ValueType<A>>,
| ^
/usr/local/clang/include/absl/container/inlined_vector.h:99:33: note: in instantiation of template class 'absl::inlined_vector_internal::Storage<absl::status_internal::Payload, 1, std::allocator<absl::status_internal::Payload>>' requested here
99 | using MemcpyPolicy = typename Storage::MemcpyPolicy;
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:72:19: note: in instantiation of template class 'absl::InlinedVector<absl::status_internal::Payload, 1>' requested here
72 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:288:7: note: in instantiation of member function 'std::default_delete<absl::InlinedVector<absl::status_internal::Payload, 1>>::operator()' requested here
288 | __deleter_(__tmp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.3-Linux-X64/bin/../include/c++/v1/__memory/unique_ptr.h:254:71: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::reset' requested here
254 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
| ^
/usr/local/clang/include/absl/status/internal/status_internal.h:68:3: note: in instantiation of member function 'std::unique_ptr<absl::InlinedVector<absl::status_internal::Payload, 1>>::~unique_ptr' requested here
68 | StatusRep(absl::StatusCode code_arg, absl::string_view message_arg,
| ^
18 warnings generated.
19 warnings generated.
18 warnings generated.
ar rcs s2/libs2static.a s2/encoded_s2cell_id_vector.o s2/encoded_s2point_vector.o s2/encoded_s2shape_index.o s2/encoded_string_vector.o s2/id_set_lexicon.o s2/mutable_s2shape_index.o s2/r2rect.o s2/s1angle.o s2/s1chord_angle.o s2/s1interval.o s2/s2boolean_operation.o s2/s2buffer_operation.o s2/s2builder_graph.o s2/s2builder.o s2/s2builderutil_closed_set_normalizer.o s2/s2builderutil_find_polygon_degeneracies.o s2/s2builderutil_get_snapped_winding_delta.o s2/s2builderutil_lax_polygon_layer.o s2/s2builderutil_lax_polyline_layer.o s2/s2builderutil_s2point_vector_layer.o s2/s2builderutil_s2polygon_layer.o s2/s2builderutil_s2polyline_layer.o s2/s2builderutil_s2polyline_vector_layer.o s2/s2builderutil_snap_functions.o s2/s2cap.o s2/s2cell_id.o s2/s2cell_index.o s2/s2cell_union.o s2/s2cell.o s2/s2centroids.o s2/s2closest_cell_query.o s2/s2closest_edge_query.o s2/s2closest_point_query.o s2/s2contains_vertex_query.o s2/s2convex_hull_query.o s2/s2coords.o s2/s2crossing_edge_query.o s2/s2debug.o s2/s2earth.o s2/s2edge_clipping.o s2/s2edge_crosser.o s2/s2edge_crossings.o s2/s2edge_distances.o s2/s2edge_tessellator.o s2/s2error.o s2/s2furthest_edge_query.o s2/s2hausdorff_distance_query.o s2/s2latlng_rect_bounder.o s2/s2latlng_rect.o s2/s2latlng.o s2/s2lax_loop_shape.o s2/s2lax_polygon_shape.o s2/s2lax_polyline_shape.o s2/s2loop_measures.o s2/s2loop.o s2/s2max_distance_targets.o s2/s2measures.o s2/s2memory_tracker.o s2/s2metrics.o s2/s2min_distance_targets.o s2/s2padded_cell.o s2/s2point_compression.o s2/s2point_region.o s2/s2pointutil.o s2/s2polygon.o s2/s2polyline_alignment.o s2/s2polyline_measures.o s2/s2polyline_simplifier.o s2/s2polyline.o s2/s2predicates.o s2/s2projections.o s2/s2r2rect.o s2/s2region_coverer.o s2/s2region_intersection.o s2/s2region_term_indexer.o s2/s2region_union.o s2/s2region.o s2/s2shape_index_buffered_region.o s2/s2shape_index_measures.o s2/s2shape_index.o s2/s2shape_measures.o s2/s2shape_nesting_query.o s2/s2shapeutil_build_polygon_boundaries.o s2/s2shapeutil_coding.o s2/s2shapeutil_contains_brute_force.o s2/s2shapeutil_conversion.o s2/s2shapeutil_edge_iterator.o s2/s2shapeutil_get_reference_point.o s2/s2shapeutil_visit_crossing_edge_pairs.o s2/s2text_format.o s2/s2wedge_relations.o s2/s2winding_operation.o s2/util/bits/bit-interleave.o s2/util/coding/coder.o s2/util/coding/varint.o s2/util/math/exactfloat/exactfloat.o s2/util/math/mathutil.o s2/util/units/length-units.o
clang++-22 -stdlib=libc++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang22/lib -L/usr/local/clang22/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -o s2.so cpp-compat.o s2-accessors.o s2-bounds.o s2-cell.o s2-cell-union.o s2-constructors-formatters.o s2-predicates.o s2-transformers.o init.o RcppExports.o s2-geography.o s2-lnglat.o s2-matrix.o wk-impl.o s2geography/accessors-geog.o s2geography/accessors.o s2geography/build.o s2geography/coverings.o s2geography/distance.o s2geography/geography.o s2geography/linear-referencing.o s2geography/predicates.o -Ls2 -ls2static -L/usr/local/clang/lib64 -labsl_flags_internal -labsl_flags_marshalling -labsl_flags_reflection -labsl_flags_private_handle_accessor -labsl_flags_commandlineflag -labsl_flags_commandlineflag_internal -labsl_flags_config -labsl_flags_program_name -labsl_raw_hash_set -labsl_hashtablez_sampler -labsl_log_internal_check_op -labsl_log_internal_conditions -labsl_log_internal_message -labsl_examine_stack -labsl_log_internal_format -labsl_log_internal_nullguard -labsl_log_internal_structured_proto -labsl_log_internal_proto -labsl_log_internal_log_sink_set -labsl_log_internal_globals -labsl_log_globals -labsl_hash -labsl_city -labsl_bad_variant_access -labsl_low_level_hash -labsl_vlog_config_internal -labsl_log_internal_fnmatch -labsl_log_sink -labsl_log_entry -labsl_status -labsl_cord -labsl_cordz_info -labsl_cord_internal -labsl_cordz_functions -labsl_exponential_biased -labsl_cordz_handle -labsl_synchronization -labsl_graphcycles_internal -labsl_kernel_timeout_internal -labsl_tracing_internal -labsl_time -labsl_civil_time -labsl_time_zone -labsl_crc_cord_state -labsl_crc32c -labsl_crc_internal -labsl_crc_cpu_detect -labsl_leak_check -labsl_bad_optional_access -labsl_stacktrace -labsl_str_format_internal -labsl_strerror -labsl_symbolize -labsl_debugging_internal -labsl_demangle_internal -labsl_demangle_rust -labsl_decode_rust_punycode -labsl_utf8_for_code_point -labsl_malloc_internal -labsl_strings -labsl_strings_internal -labsl_string_view -labsl_base -lrt -labsl_spinlock_wait -labsl_int128 -labsl_throw_delegate -labsl_raw_logging_internal -labsl_log_severity -lssl -lcrypto
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/s2/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/s2/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/s2/src'
installing to /data/gannet/ripley/R/packages/tests-clang/s2.Rcheck/00LOCK-s2/00new/s2/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (s2)