>>> dalvik-standalone: Building testing/dalvik-standalone 0_git20231027-r0 (using abuild 3.12.0-r0) started Mon, 20 Nov 2023 20:46:34 +0000 >>> dalvik-standalone: Checking sanity of /home/buildozer/aports/testing/dalvik-standalone/APKBUILD... >>> dalvik-standalone: Analyzing dependencies... >>> dalvik-standalone: Installing for build: build-base wolfssl-jni bash bionic_translation-dev bsd-compat-headers expat-dev icu-dev java-common libbsd-dev libcap-dev libunwind-dev lz4-dev meson openjdk8-jdk openssl-dev python3 valgrind-dev wolfssl-jni-dev xz-dev zip zlib-dev (1/94) Installing wolfssl-jni (5.6.4-r1) (2/94) Installing readline (8.2.1-r2) (3/94) Installing bash (5.2.15-r6) Executing bash-5.2.15-r6.post-install (4/94) Installing mesa (23.1.9-r1) (5/94) Installing libxau (1.0.11-r3) (6/94) Installing libmd (1.1.0-r0) (7/94) Installing libbsd (0.11.7-r3) (8/94) Installing libxdmcp (1.1.4-r3) (9/94) Installing libxcb (1.16-r0) (10/94) Installing libx11 (1.8.7-r0) (11/94) Installing hwdata-pci (0.376-r0) (12/94) Installing libpciaccess (0.17-r2) (13/94) Installing libdrm (2.4.117-r1) (14/94) Installing libffi (3.4.4-r3) (15/94) Installing wayland-libs-server (1.22.0-r4) (16/94) Installing mesa-gbm (23.1.9-r1) (17/94) Installing mesa-glapi (23.1.9-r1) (18/94) Installing wayland-libs-client (1.22.0-r4) (19/94) Installing libxshmfence (1.3.2-r5) (20/94) Installing mesa-egl (23.1.9-r1) (21/94) Installing libucontext (1.2-r2) (22/94) Installing xz-libs (5.4.5-r0) (23/94) Installing libunwind (1.7.2-r1) (24/94) Installing bionic_translation (0_git20231017-r0) (25/94) Installing bionic_translation-dev (0_git20231017-r0) (26/94) Installing bsd-compat-headers (0.7.2-r5) (27/94) Installing expat (2.5.0-r2) (28/94) Installing expat-dev (2.5.0-r2) (29/94) Installing icu-data-en (74.1-r0) Executing icu-data-en-74.1-r0.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (30/94) Installing icu-libs (74.1-r0) (31/94) Installing icu (74.1-r0) (32/94) Installing icu-dev (74.1-r0) (33/94) Installing java-common (0.5-r0) (34/94) Installing linux-headers (6.5-r0) (35/94) Installing libmd-dev (1.1.0-r0) (36/94) Installing libbsd-dev (0.11.7-r3) (37/94) Installing libcap-dev (2.69-r1) (38/94) Installing libucontext-dev (1.2-r2) (39/94) Installing libunwind-dev (1.7.2-r1) (40/94) Installing lz4-dev (1.9.4-r5) (41/94) Installing samurai (1.2-r5) (42/94) Installing libbz2 (1.0.8-r6) (43/94) Installing gdbm (1.23-r1) (44/94) Installing mpdecimal (2.5.1-r2) (45/94) Installing libpanelw (6.4_p20231007-r0) (46/94) Installing sqlite-libs (3.44.0-r0) (47/94) Installing python3 (3.11.6-r1) (48/94) Installing python3-pycache-pyc0 (3.11.6-r1) (49/94) Installing pyc (3.11.6-r1) (50/94) Installing meson-pyc (1.2.3-r0) (51/94) Installing python3-pyc (3.11.6-r1) (52/94) Installing meson (1.2.3-r0) (53/94) Installing libpng (1.6.40-r0) (54/94) Installing freetype (2.13.2-r0) (55/94) Installing fontconfig (2.14.2-r4) (56/94) Installing encodings (1.0.7-r1) (57/94) Installing libfontenc (1.1.7-r4) (58/94) Installing mkfontscale (1.2.2-r4) (59/94) Installing font-dejavu (2.37-r5) (60/94) Installing libxcomposite (0.4.6-r4) (61/94) Installing libxext (1.3.5-r3) (62/94) Installing libxi (1.8.1-r2) (63/94) Installing libxrender (0.9.11-r4) (64/94) Installing libxtst (1.2.4-r4) (65/94) Installing alsa-lib (1.2.10-r0) (66/94) Installing giflib (5.2.1-r5) (67/94) Installing libjpeg-turbo (3.0.1-r0) (68/94) Installing openjdk8-jre-lib (8.392.08-r0) (69/94) Installing libtasn1 (4.19.0-r2) (70/94) Installing p11-kit (0.25.3-r0) (71/94) Installing p11-kit-trust (0.25.3-r0) (72/94) Installing java-cacerts (1.0-r1) (73/94) Installing nspr (4.35-r4) (74/94) Installing nss (3.94-r0) (75/94) Installing krb5-conf (1.0-r2) (76/94) Installing libcom_err (1.47.0-r5) (77/94) Installing keyutils-libs (1.6.3-r3) (78/94) Installing libverto (0.3.2-r2) (79/94) Installing krb5-libs (1.21.2-r0) (80/94) Installing lcms2 (2.15-r4) (81/94) Installing pcsc-lite-libs (2.0.0-r2) (82/94) Installing liblksctp (1.0.19-r4) (83/94) Installing openjdk8-jre-base (8.392.08-r0) (84/94) Installing openjdk8-jre (8.392.08-r0) (85/94) Installing openjdk8-jdk (8.392.08-r0) (86/94) Installing openssl-dev (3.1.4-r1) (87/94) Installing valgrind-dev (3.22.0-r0) (88/94) Installing wolfssl-jni-dev (5.6.4-r1) (89/94) Installing xz (5.4.5-r0) (90/94) Installing xz-dev (5.4.5-r0) (91/94) Installing unzip (6.0-r14) (92/94) Installing zip (3.0-r12) (93/94) Installing zlib-dev (1.3-r2) (94/94) Installing .makedepends-dalvik-standalone (20231120.204636) Executing busybox-1.36.1-r15.trigger Executing java-common-0.5-r0.trigger Executing fontconfig-2.14.2-r4.trigger Executing mkfontscale-1.2.2-r4.trigger Executing ca-certificates-20230506-r0.trigger OK: 605 MiB in 199 packages >>> dalvik-standalone: Cleaning up srcdir >>> dalvik-standalone: Cleaning up pkgdir >>> dalvik-standalone: Cleaning up tmpdir >>> dalvik-standalone: Fetching https://distfiles.alpinelinux.org/distfiles/edge/dalvik-standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> dalvik-standalone: Fetching https://gitlab.com/android_translation_layer/dalvik_standalone/-/archive/b64b6f8d7fb98216e3120fe3f75465d230c2bafb/dalvik-standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1162k 0 1162k 0 0 2945k 0 --:--:-- --:--:-- --:--:-- 2942k 100 67.5M 0 67.5M 0 0 48.3M 0 --:--:-- 0:00:01 --:--:-- 48.3M 100 144M 0 144M 0 0 63.0M 0 --:--:-- 0:00:02 --:--:-- 63.0M >>> dalvik-standalone: Fetching https://distfiles.alpinelinux.org/distfiles/edge/dalvik-standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb.tar.gz >>> dalvik-standalone: Checking sha512sums... dalvik-standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb.tar.gz: OK >>> dalvik-standalone: Unpacking /var/cache/distfiles/edge/dalvik-standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb.tar.gz... ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=6.0.1 TARGET_PRODUCT=full TARGET_BUILD_VARIANT=eng TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a TARGET_CPU_VARIANT=generic TARGET_2ND_ARCH= TARGET_2ND_ARCH_VARIANT= TARGET_2ND_CPU_VARIANT= HOST_ARCH=x86_64 HOST_OS=linux HOST_OS_EXTRA=Linux-5.15.108-0-lts-x86_64-with HOST_BUILD_TYPE=release BUILD_ID=MOB30M OUT_DIR=out ============================================ Checking build tools versions... including ./abi/cpp/Android.mk ... including ./art/Android.mk ... including ./build/libs/host/Android.mk ... including ./build/target/board/Android.mk ... including ./build/target/product/security/Android.mk ... including ./build/tools/Android.mk ... including ./dalvik/Android.mk ... including ./external/apache-harmony/Android.mk ... including ./external/apache-http/Android.mk ... including ./external/apache-xml/Android.mk ... including ./external/bouncycastle/Android.mk ... including ./external/fdlibm/Android.mk ... including ./external/gcc-demangle/Android.mk ... including ./external/hamcrest/Android.mk ... including ./external/icu/Android.mk ... including ./external/junit/Android.mk ... including ./external/libunwind/Android.mk ... including ./external/okhttp/Android.mk ... including ./external/safe-iop/Android.mk ... including ./external/vixl/Android.mk ... including ./external/wolfssljni/Android.mk ... including ./libbase/Android.mk ... including ./libcore/Android.mk ... find: external/doclava/res/assets/templates-sdk: No such file or directory including ./libnativehelper/Android.mk ... including ./prebuilts/misc/Android.mk ... including ./system/core/Android.mk ... Export includes file: libnativehelper/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libnativehelper_intermediates/export_includes Export includes file: art/sigchainlib/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libsigchain_intermediates/export_includes Export includes file: system/core/liblog/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/liblog_intermediates/export_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/liblog_intermediates/import_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libsigchain_intermediates/import_includes Export includes file: art/dalvikvm/Android.mk -- out/host/linux-x86/obj/EXECUTABLES/dalvikvm_intermediates/export_includes Export includes file: build/libs/host/Android.mk -- out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/export_includes Import includes file: out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/import_includes Export includes file: build/tools/acp/Android.mk -- out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/export_includes Notice file: libnativehelper/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libnativehelper.so.txt Notice file: system/core/liblog/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/liblog.so.txt Symlink: out/host/linux-x86/bin/dalvikvm -> dalvikvm64 Export includes file: libbase/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libbase_intermediates/export_includes Export includes file: system/core/libcutils/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libcutils_intermediates/export_includes Export includes file: art/compiler/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/export_includes Export includes file: system/core/libziparchive/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libziparchive-host_intermediates/export_includes Export includes file: art/runtime/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/export_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libcutils_intermediates/import_includes target Generated: libart-compiler <= art/compiler/compiled_method.h target Generated: libart-compiler <= art/compiler/dex/dex_to_dex_compiler.h target Generated: libart-compiler <= art/compiler/driver/compiler_driver.h target Generated: libart-compiler <= art/compiler/driver/compiler_options.h target Generated: libart-compiler <= art/compiler/image_writer.h target Generated: libart-compiler <= art/compiler/optimizing/locations.h Export includes file: art/dexlayout/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libart-dexlayout_intermediates/export_includes Export includes file: external/vixl/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libvixl_intermediates/export_includes target Generated: libart <= art/runtime/arch/instruction_set.h target Generated: libart <= art/runtime/base/allocator.h target Generated: libart <= art/runtime/base/callee_save_type.h target Generated: libart <= art/runtime/base/enums.h target Generated: libart <= art/runtime/base/mutex.h target Generated: libart <= art/runtime/debugger.h target Generated: libart <= art/runtime/base/unix_file/fd_file.h target Generated: libart <= art/runtime/dex_file.h target Generated: libart <= art/runtime/dex_file_layout.h target Generated: libart <= art/runtime/dex_instruction.h target Generated: libart <= art/runtime/dex_instruction_utils.h target Generated: libart <= art/runtime/gc_root.h target Generated: libart <= art/runtime/gc/allocator_type.h target Generated: libart <= art/runtime/gc/allocator/rosalloc.h target Generated: libart <= art/runtime/gc/collector_type.h target Generated: libart <= art/runtime/gc/collector/gc_type.h target Generated: libart <= art/runtime/gc/heap.h target Generated: libart <= art/runtime/gc/space/region_space.h target Generated: libart <= art/runtime/gc/space/space.h target Generated: libart <= art/runtime/gc/weak_root_state.h target Generated: libart <= art/runtime/image.h target Generated: libart <= art/runtime/instrumentation.h target Generated: libart <= art/runtime/indirect_reference_table.h target Generated: libart <= art/runtime/invoke_type.h target Generated: libart <= art/runtime/jdwp/jdwp.h target Generated: libart <= art/runtime/jdwp/jdwp_constants.h target Generated: libart <= art/runtime/lock_word.h target Generated: libart <= art/runtime/mirror/class.h target Generated: libart <= art/runtime/oat.h target Generated: libart <= art/runtime/object_callbacks.h target Generated: libart <= art/runtime/process_state.h target Generated: libart <= art/runtime/stack.h target Generated: libart <= art/runtime/suspend_reason.h target Generated: libart <= art/runtime/thread.h target Generated: libart <= art/runtime/thread_state.h target Generated: libart <= art/runtime/ti/agent.h target Generated: libart <= art/runtime/verifier/verifier_enums.h Export includes file: system/core/libnativebridge/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libnativebridge_intermediates/export_includes Export includes file: system/core/libbacktrace/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libbacktrace_intermediates/export_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libnativebridge_intermediates/import_includes Export includes file: external/libunwind/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libunwind_intermediates/export_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libunwind_intermediates/import_includes Export includes file: system/core/libutils/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libutils_intermediates/export_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libutils_intermediates/import_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-dexlayout_intermediates/import_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libvixl_intermediates/import_includes Export includes file: art/dex2oat/Android.mk -- out/host/linux-x86/obj/EXECUTABLES/dex2oat_intermediates/export_includes Notice file: system/core/libcutils/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libcutils.so.txt Notice file: external/libunwind/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libunwind.so.txt Notice file: system/core/libutils/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libutils.so.txt Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libjavacore_intermediates/import_includes Export includes file: libcore/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libjavacore_intermediates/export_includes Notice file: libcore/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libjavacore.so.txt Export includes file: art/runtime/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libopenjdkjvm_intermediates/export_includes Export includes file: external/fdlibm/Android.mk -- out/host/linux-x86/obj/STATIC_LIBRARIES/libfdlibm_intermediates/export_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libopenjdkjvm_intermediates/import_includes Import includes file: out/host/linux-x86/obj/STATIC_LIBRARIES/libfdlibm_intermediates/import_includes Export includes file: libcore/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libopenjdk_intermediates/export_includes Notice file: libcore/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libopenjdk.so.txt Notice file: external/fdlibm/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libfdlibm.a.txt host Java: core-all-hostdex (out/host/common/obj/JAVA_LIBRARIES/core-all-hostdex_intermediates/classes) host Java: dx (out/host/common/obj/JAVA_LIBRARIES/dx_intermediates/classes) Notice file: dalvik/dx/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//bin/dx.txt Notice file: libcore/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//framework/core-libart-hostdex.jar.txt Notice file: libcore/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//framework/core-oj-hostdex.jar.txt Notice file: external/apache-http/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//framework/apachehttp-hostdex.jar.txt Notice file: external/apache-xml/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//framework/apache-xml-hostdex.jar.txt Notice file: external/hamcrest/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//framework/hamcrest-hostdex.jar.txt Notice file: external/junit/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//framework/core-junit-hostdex.jar.txt Notice file: external/bouncycastle/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//framework/bouncycastle-hostdex.jar.txt Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libwolfssljni_intermediates/import_includes Export includes file: external/wolfssljni/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libwolfssljni_intermediates/export_includes Import includes file: out/host/linux-x86/obj/EXECUTABLES/dalvikvm_intermediates/import_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libnativehelper_intermediates/import_includes host C: liblog <= system/core/liblog/logd_write.c host C: liblog <= system/core/liblog/logprint.c host C: liblog <= system/core/liblog/event_tag_map.c host C: liblog <= system/core/liblog/fake_log_device.c host C++: libsigchain <= art/sigchainlib/sigchain.cc Import includes file: out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/import_includes host C: libhost <= build/libs/host/CopyFile.c Import includes file: out/host/linux-x86/obj/EXECUTABLES/dex2oat_intermediates/import_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libbase_intermediates/import_includes host C: libcutils <= system/core/libcutils/atomic.c host C: libcutils <= system/core/libcutils/hashmap.c system/core/liblog/logd_write.c: In function '__write_to_log_kernel': system/core/liblog/logd_write.c:39:44: warning: implicit declaration of function 'fakeLogWritev' [-Wimplicit-function-declaration] 39 | #define log_writev(filedes, vector, count) fakeLogWritev(filedes, vector, count) | ^~~~~~~~~~~~~ system/core/liblog/logd_write.c:92:15: note: in expansion of macro 'log_writev' 92 | ret = log_writev(log_fd, vec, nr); | ^~~~~~~~~~ host C: libcutils <= system/core/libcutils/native_handle.c system/core/liblog/logd_write.c: In function '__write_to_log_init': system/core/liblog/logd_write.c:38:35: warning: implicit declaration of function 'fakeLogOpen' [-Wimplicit-function-declaration] 38 | #define log_open(pathname, flags) fakeLogOpen(pathname, flags) | ^~~~~~~~~~~ system/core/liblog/logd_write.c:105:32: note: in expansion of macro 'log_open' 105 | log_fds[LOG_ID_MAIN] = log_open("/dev/"LOGGER_LOG_MAIN, O_WRONLY); | ^~~~~~~~ system/core/liblog/logd_write.c:40:28: warning: implicit declaration of function 'fakeLogClose' [-Wimplicit-function-declaration] 40 | #define log_close(filedes) fakeLogClose(filedes) | ^~~~~~~~~~~~ system/core/liblog/logd_write.c:114:13: note: in expansion of macro 'log_close' 114 | log_close(log_fds[LOG_ID_MAIN]); | ^~~~~~~~~ host C: libcutils <= system/core/libcutils/config_utils.c host C: libcutils <= system/core/libcutils/load_file.c host C: libcutils <= system/core/libcutils/strlcpy.c system/core/liblog/fake_log_device.c: In function 'fake_writev': system/core/liblog/fake_log_device.c:324:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 324 | struct iovec* end = iov + iovcnt; | ^~~ system/core/liblog/fake_log_device.c:327:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 327 | if (w != iov->iov_len) { | ^~ host C: libcutils <= system/core/libcutils/open_memstream.c host C: libcutils <= system/core/libcutils/strdup16to8.c host C: libcutils <= system/core/libcutils/strdup8to16.c host C: libcutils <= system/core/libcutils/record_stream.c host C: libcutils <= system/core/libcutils/process_name.c host C: libcutils <= system/core/libcutils/threads.c host C: libcutils <= system/core/libcutils/sched_policy.c host C: libcutils <= system/core/libcutils/iosched_policy.c host C: libcutils <= system/core/libcutils/str_parms.c host C: libcutils <= system/core/libcutils/fs_config.c host C: libcutils <= system/core/libcutils/fs.c host C: libcutils <= system/core/libcutils/multiuser.c host C: libcutils <= system/core/libcutils/socket_inaddr_any_server.c host C: libcutils <= system/core/libcutils/socket_local_client.c host C: libcutils <= system/core/libcutils/socket_local_server.c host C: libcutils <= system/core/libcutils/socket_loopback_client.c host C: libcutils <= system/core/libcutils/socket_loopback_server.c In file included from system/core/include/cutils/str_parms.h:21, from system/core/libcutils/str_parms.c:29: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ host C: libcutils <= system/core/libcutils/socket_network_client.c host C: libcutils <= system/core/libcutils/sockets.c host C: libcutils <= system/core/libcutils/ashmem-host.c system/core/libcutils/fs_config.c:134:50: warning: left shift count >= width of type [-Wshift-count-overflow] 134 | { 00700, AID_SYSTEM, AID_SHELL, (1ULL << CAP_BLOCK_SUSPEND), "system/bin/inputflinger" }, | ^~ host C: libcutils <= system/core/libcutils/trace-host.c host C: libcutils <= system/core/libcutils/dlmalloc_stubs.c Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/import_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/import_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libbacktrace_intermediates/import_includes host C++: libnativebridge <= system/core/libnativebridge/native_bridge.cc host asm: libunwind <= external/libunwind/src/x86_64/getcontext.S host asm: libunwind <= external/libunwind/src/x86_64/setcontext.S host C: libunwind <= external/libunwind/src/mi/init.c In file included from system/core/include/cutils/trace.h:100, from system/core/libcutils/trace-host.c:17: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ host C: libunwind <= external/libunwind/src/mi/flush_cache.c host C: libunwind <= external/libunwind/src/mi/mempool.c host C: libunwind <= external/libunwind/src/mi/strerror.c host C: libunwind <= external/libunwind/src/mi/backtrace.c host C: libunwind <= external/libunwind/src/mi/dyn-cancel.c host C: libunwind <= external/libunwind/src/mi/dyn-info-list.c host C: libunwind <= external/libunwind/src/mi/dyn-register.c host C: libunwind <= external/libunwind/src/mi/map.c host C: libunwind <= external/libunwind/src/mi/Lmap.c host C: libunwind <= external/libunwind/src/mi/Ldyn-extract.c host C: libunwind <= external/libunwind/src/mi/Lfind_dynamic_proc_info.c host C: libunwind <= external/libunwind/src/mi/Lget_proc_info_by_ip.c host C: libunwind <= external/libunwind/src/mi/Lget_proc_name.c host C: libunwind <= external/libunwind/src/mi/Lput_dynamic_unwind_info.c host C: libunwind <= external/libunwind/src/mi/Ldestroy_addr_space.c host C: libunwind <= external/libunwind/src/mi/Lget_reg.c host C: libunwind <= external/libunwind/src/mi/Lset_reg.c host C: libunwind <= external/libunwind/src/mi/Lget_fpreg.c host C: libunwind <= external/libunwind/src/mi/Lset_fpreg.c host C: libunwind <= external/libunwind/src/mi/Lset_caching_policy.c host C: libunwind <= external/libunwind/src/mi/Gdyn-extract.c host C: libunwind <= external/libunwind/src/mi/Gdyn-remote.c host C: libunwind <= external/libunwind/src/mi/Gfind_dynamic_proc_info.c host C: libunwind <= external/libunwind/src/mi/Gget_accessors.c host C: libunwind <= external/libunwind/src/mi/Gget_proc_info_by_ip.c host C: libunwind <= external/libunwind/src/mi/Gget_proc_name.c host C: libunwind <= external/libunwind/src/mi/Gput_dynamic_unwind_info.c host C: libunwind <= external/libunwind/src/mi/Gdestroy_addr_space.c host C: libunwind <= external/libunwind/src/mi/Gget_reg.c host C: libunwind <= external/libunwind/src/mi/Gset_reg.c host C: libunwind <= external/libunwind/src/mi/Gget_fpreg.c host C: libunwind <= external/libunwind/src/mi/Gset_fpreg.c host C: libunwind <= external/libunwind/src/mi/Gset_caching_policy.c host C: libunwind <= external/libunwind/src/dwarf/Lexpr.c host C: libunwind <= external/libunwind/src/dwarf/Lfde.c host C: libunwind <= external/libunwind/src/dwarf/Lparser.c host C: libunwind <= external/libunwind/src/dwarf/Lpe.c host C: libunwind <= external/libunwind/src/dwarf/Lstep_dwarf.c host C: libunwind <= external/libunwind/src/dwarf/Lfind_proc_info-lsb.c host C: libunwind <= external/libunwind/src/dwarf/Lfind_unwind_table.c host C: libunwind <= external/libunwind/src/dwarf/Gexpr.c host C: libunwind <= external/libunwind/src/dwarf/Gfde.c host C: libunwind <= external/libunwind/src/dwarf/Gfind_proc_info-lsb.c host C: libunwind <= external/libunwind/src/dwarf/Gfind_unwind_table.c host C: libunwind <= external/libunwind/src/dwarf/Gparser.c host C: libunwind <= external/libunwind/src/dwarf/Gpe.c host C: libunwind <= external/libunwind/src/dwarf/Gstep_dwarf.c host C: libunwind <= external/libunwind/src/dwarf/global.c host C: libunwind <= external/libunwind/src/os-common.c host C: libunwind <= external/libunwind/src/os-linux.c host C: libunwind <= external/libunwind/src/Los-common.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_accessors.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_access_fpreg.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_access_mem.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_access_reg.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_create.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_destroy.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_find_proc_info.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_get_dyn_info_list_addr.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_put_unwind_info.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_get_proc_name.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_reg_offset.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_resume.c host C: libunwind <= external/libunwind/src/x86_64/is_fpreg.c host C: libunwind <= external/libunwind/src/x86_64/regname.c host C: libunwind <= external/libunwind/src/x86_64/Gcreate_addr_space.c host C: libunwind <= external/libunwind/src/x86_64/Gget_proc_info.c host C: libunwind <= external/libunwind/src/x86_64/Gget_save_loc.c host C: libunwind <= external/libunwind/src/x86_64/Gglobal.c host C: libunwind <= external/libunwind/src/x86_64/Ginit.c host C: libunwind <= external/libunwind/src/x86_64/Ginit_local.c host C: libunwind <= external/libunwind/src/x86_64/Ginit_remote.c host C: libunwind <= external/libunwind/src/x86_64/Gregs.c host C: libunwind <= external/libunwind/src/x86_64/Gresume.c host C: libunwind <= external/libunwind/src/x86_64/Gstep.c host C: libunwind <= external/libunwind/src/x86_64/Lcreate_addr_space.c host C: libunwind <= external/libunwind/src/x86_64/Lget_proc_info.c host C: libunwind <= external/libunwind/src/x86_64/Lget_save_loc.c host C: libunwind <= external/libunwind/src/x86_64/Lglobal.c host C: libunwind <= external/libunwind/src/x86_64/Linit.c host C: libunwind <= external/libunwind/src/x86_64/Linit_local.c host C: libunwind <= external/libunwind/src/x86_64/Linit_remote.c host C: libunwind <= external/libunwind/src/x86_64/Lregs.c host C: libunwind <= external/libunwind/src/x86_64/Lresume.c host C: libunwind <= external/libunwind/src/x86_64/Lstep.c host C: libunwind <= external/libunwind/src/x86_64/Gstash_frame.c external/libunwind/src/ptrace/_UPT_get_dyn_info_list_addr.c: In function 'get_list_addr': external/libunwind/src/ptrace/_UPT_get_dyn_info_list_addr.c:80:10: note: '#pragma message: Implement get_list_addr(), please.' 80 | # pragma message("Implement get_list_addr(), please.") | ^~~~~~~ host C: libunwind <= external/libunwind/src/x86_64/Gtrace.c host C: libunwind <= external/libunwind/src/x86_64/Gos-linux.c host C: libunwind <= external/libunwind/src/x86_64/Lstash_frame.c host C: libunwind <= external/libunwind/src/x86_64/Ltrace.c host C: libunwind <= external/libunwind/src/x86_64/Los-linux.c host C: libunwind <= external/libunwind/src/elf64.c Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libziparchive-host_intermediates/import_includes host C++: libutils <= system/core/libutils/BasicHashtable.cpp host C++: libutils <= system/core/libutils/CallStack.cpp host C++: libutils <= system/core/libutils/FileMap.cpp external/libunwind/src/x86_64/Gstash_frame.c: In function '_Ux86_64_stash_frame': external/libunwind/src/x86_64/Gstash_frame.c:53:10: warning: taking the absolute value of unsigned type 'unw_word_t' {aka 'long unsigned int'} has no effect [-Wabsolute-value] 53 | && labs(rs->reg[DWARF_CFA_OFF_COLUMN].val) < (1 << 29) | ^~~~ external/libunwind/src/x86_64/Gstash_frame.c:58:18: warning: taking the absolute value of unsigned type 'unw_word_t' {aka 'long unsigned int'} has no effect [-Wabsolute-value] 58 | && labs(rs->reg[RBP].val) < (1 << 14) | ^~~~ external/libunwind/src/x86_64/Gstash_frame.c:63:18: warning: taking the absolute value of unsigned type 'unw_word_t' {aka 'long unsigned int'} has no effect [-Wabsolute-value] 63 | && labs(rs->reg[RSP].val) < (1 << 14) | ^~~~ host C++: libutils <= system/core/libutils/JenkinsHash.cpp host C++: libutils <= system/core/libutils/LinearTransform.cpp external/libunwind/src/x86_64/Gtrace.c: In function '_Ux86_64_tdep_trace': external/libunwind/src/x86_64/Gtrace.c:476:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 476 | c->validate = 1; | ~~~~~~~~~~~~^~~ external/libunwind/src/x86_64/Gtrace.c:478:5: note: here 478 | case UNW_X86_64_FRAME_STANDARD: | ^~~~ host C++: libutils <= system/core/libutils/Log.cpp host C++: libutils <= system/core/libutils/NativeHandle.cpp host C++: libutils <= system/core/libutils/Printer.cpp In file included from external/libunwind/src/x86_64/Lstash_frame.c:4: external/libunwind/src/x86_64/Gstash_frame.c: In function '_ULx86_64_stash_frame': external/libunwind/src/x86_64/Gstash_frame.c:53:10: warning: taking the absolute value of unsigned type 'unw_word_t' {aka 'long unsigned int'} has no effect [-Wabsolute-value] 53 | && labs(rs->reg[DWARF_CFA_OFF_COLUMN].val) < (1 << 29) | ^~~~ external/libunwind/src/x86_64/Gstash_frame.c:58:18: warning: taking the absolute value of unsigned type 'unw_word_t' {aka 'long unsigned int'} has no effect [-Wabsolute-value] 58 | && labs(rs->reg[RBP].val) < (1 << 14) | ^~~~ external/libunwind/src/x86_64/Gstash_frame.c:63:18: warning: taking the absolute value of unsigned type 'unw_word_t' {aka 'long unsigned int'} has no effect [-Wabsolute-value] 63 | && labs(rs->reg[RSP].val) < (1 << 14) | ^~~~ host C++: libutils <= system/core/libutils/ProcessCallStack.cpp In file included from external/libunwind/src/x86_64/Ltrace.c:4: external/libunwind/src/x86_64/Gtrace.c: In function '_ULx86_64_tdep_trace': external/libunwind/src/x86_64/Gtrace.c:476:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 476 | c->validate = 1; | ~~~~~~~~~~~~^~~ external/libunwind/src/x86_64/Gtrace.c:478:5: note: here 478 | case UNW_X86_64_FRAME_STANDARD: | ^~~~ host C++: libutils <= system/core/libutils/PropertyMap.cpp host C++: libutils <= system/core/libutils/RefBase.cpp host C++: libutils <= system/core/libutils/SharedBuffer.cpp host C++: libutils <= system/core/libutils/Static.cpp host C++: libutils <= system/core/libutils/StopWatch.cpp host C++: libutils <= system/core/libutils/String8.cpp host C++: libutils <= system/core/libutils/String16.cpp host C++: libutils <= system/core/libutils/SystemClock.cpp host C++: libutils <= system/core/libutils/Threads.cpp host C++: libutils <= system/core/libutils/Timers.cpp host C++: libutils <= system/core/libutils/Tokenizer.cpp host C++: libutils <= system/core/libutils/Unicode.cpp host C++: libutils <= system/core/libutils/VectorImpl.cpp host C++: libutils <= system/core/libutils/misc.cpp host C++: libutils <= system/core/libutils/Looper.cpp host C++: libart-dexlayout <= art/dexlayout/dexlayout.cc host C++: libart-dexlayout <= art/dexlayout/dex_ir.cc host C++: libart-dexlayout <= art/dexlayout/dex_ir_builder.cc system/core/libutils/Unicode.cpp: In function 'void utf32_codepoint_to_utf8(uint8_t*, char32_t, size_t)': system/core/libutils/Unicode.cpp:104:81: warning: this statement may fall through [-Wimplicit-fallthrough=] 104 | case 4: *--dstP = (uint8_t)((srcChar | kByteMark) & kByteMask); srcChar >>= 6; | ~~~~~~~~^~~~~ system/core/libutils/Unicode.cpp:105:9: note: here 105 | case 3: *--dstP = (uint8_t)((srcChar | kByteMark) & kByteMask); srcChar >>= 6; | ^~~~ system/core/libutils/Unicode.cpp:105:81: warning: this statement may fall through [-Wimplicit-fallthrough=] 105 | case 3: *--dstP = (uint8_t)((srcChar | kByteMark) & kByteMask); srcChar >>= 6; | ~~~~~~~~^~~~~ system/core/libutils/Unicode.cpp:106:9: note: here 106 | case 2: *--dstP = (uint8_t)((srcChar | kByteMark) & kByteMask); srcChar >>= 6; | ^~~~ system/core/libutils/Unicode.cpp:106:81: warning: this statement may fall through [-Wimplicit-fallthrough=] 106 | case 2: *--dstP = (uint8_t)((srcChar | kByteMark) & kByteMask); srcChar >>= 6; | ~~~~~~~~^~~~~ system/core/libutils/Unicode.cpp:107:9: note: here 107 | case 1: *--dstP = (uint8_t)(srcChar | kFirstByteMark[bytes]); | ^~~~ host C++: libart-dexlayout <= art/dexlayout/dex_verify.cc system/core/libutils/SharedBuffer.cpp: In member function 'android::SharedBuffer* android::SharedBuffer::editResize(size_t) const': system/core/libutils/SharedBuffer.cpp:76:37: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'class android::SharedBuffer'; use 'new' and 'delete' instead [-Wclass-memaccess] 76 | buf = (SharedBuffer*)realloc(buf, sizeof(SharedBuffer) + newSize); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from system/core/libutils/SharedBuffer.cpp:23: system/core/include/utils/SharedBuffer.h:27:7: note: 'class android::SharedBuffer' declared here 27 | class SharedBuffer | ^~~~~~~~~~~~ host C++: libart-dexlayout <= art/dexlayout/dex_visualize.cc In file included from system/core/include/cutils/log.h:1, from system/core/libutils/VectorImpl.cpp:23: system/core/libutils/VectorImpl.cpp: In member function 'ssize_t android::VectorImpl::setCapacity(size_t)': external/safe-iop/include/safe_iop.h:80:19: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 80 | ((typeof(_a))(~((typeof(_a)) 1 << ((sizeof(typeof(_a)) * CHAR_BIT) - 1)))) | ^~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smax' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:82:18: note: in expansion of macro '__sio' 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:87:7: note: in expansion of macro '__sio' 87 | (__sio(m)(smin)(__B) <= ((typeof(__B))0))) || \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:341:26: note: in expansion of macro 'safe_mul' 341 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_allocation_size, new_capacity, mItemSize)); | ^~~~~~~~ external/safe-iop/include/safe_iop.h:80:4: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 80 | ((typeof(_a))(~((typeof(_a)) 1 << ((sizeof(typeof(_a)) * CHAR_BIT) - 1)))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smax' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:82:18: note: in expansion of macro '__sio' 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:87:7: note: in expansion of macro '__sio' 87 | (__sio(m)(smin)(__B) <= ((typeof(__B))0))) || \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:341:26: note: in expansion of macro 'safe_mul' 341 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_allocation_size, new_capacity, mItemSize)); | ^~~~~~~~ external/safe-iop/include/safe_iop.h:82:4: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:87:7: note: in expansion of macro '__sio' 87 | (__sio(m)(smin)(__B) <= ((typeof(__B))0))) || \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:341:26: note: in expansion of macro 'safe_mul' 341 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_allocation_size, new_capacity, mItemSize)); | ^~~~~~~~ external/safe-iop/include/safe_iop.h:87:31: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 87 | (__sio(m)(smin)(__B) <= ((typeof(__B))0))) || \ | ^~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:341:26: note: in expansion of macro 'safe_mul' 341 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_allocation_size, new_capacity, mItemSize)); | ^~~~~~~~ external/safe-iop/include/safe_iop.h:80:19: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 80 | ((typeof(_a))(~((typeof(_a)) 1 << ((sizeof(typeof(_a)) * CHAR_BIT) - 1)))) | ^~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smax' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:82:18: note: in expansion of macro '__sio' 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:89:7: note: in expansion of macro '__sio' 89 | (__sio(m)(smin)(__B) > ((typeof(__B))0)))) && \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:341:26: note: in expansion of macro 'safe_mul' 341 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_allocation_size, new_capacity, mItemSize)); | ^~~~~~~~ external/safe-iop/include/safe_iop.h:80:4: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 80 | ((typeof(_a))(~((typeof(_a)) 1 << ((sizeof(typeof(_a)) * CHAR_BIT) - 1)))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smax' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:82:18: note: in expansion of macro '__sio' 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:89:7: note: in expansion of macro '__sio' 89 | (__sio(m)(smin)(__B) > ((typeof(__B))0)))) && \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:341:26: note: in expansion of macro 'safe_mul' 341 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_allocation_size, new_capacity, mItemSize)); | ^~~~~~~~ external/safe-iop/include/safe_iop.h:82:4: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:89:7: note: in expansion of macro '__sio' 89 | (__sio(m)(smin)(__B) > ((typeof(__B))0)))) && \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:341:26: note: in expansion of macro 'safe_mul' 341 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_allocation_size, new_capacity, mItemSize)); | ^~~~~~~~ external/safe-iop/include/safe_iop.h:89:30: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 89 | (__sio(m)(smin)(__B) > ((typeof(__B))0)))) && \ | ^~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:341:26: note: in expansion of macro 'safe_mul' 341 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_allocation_size, new_capacity, mItemSize)); | ^~~~~~~~ system/core/libutils/VectorImpl.cpp: In member function 'void* android::VectorImpl::_grow(size_t, size_t)': external/safe-iop/include/safe_iop.h:80:19: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 80 | ((typeof(_a))(~((typeof(_a)) 1 << ((sizeof(typeof(_a)) * CHAR_BIT) - 1)))) | ^~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smax' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:82:18: note: in expansion of macro '__sio' 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:87:7: note: in expansion of macro '__sio' 87 | (__sio(m)(smin)(__B) <= ((typeof(__B))0))) || \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:403:30: note: in expansion of macro 'safe_mul' 403 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_alloc_size, new_capacity, mItemSize), | ^~~~~~~~ external/safe-iop/include/safe_iop.h:80:4: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 80 | ((typeof(_a))(~((typeof(_a)) 1 << ((sizeof(typeof(_a)) * CHAR_BIT) - 1)))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smax' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:82:18: note: in expansion of macro '__sio' 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:87:7: note: in expansion of macro '__sio' 87 | (__sio(m)(smin)(__B) <= ((typeof(__B))0))) || \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:403:30: note: in expansion of macro 'safe_mul' 403 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_alloc_size, new_capacity, mItemSize), | ^~~~~~~~ external/safe-iop/include/safe_iop.h:82:4: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:87:7: note: in expansion of macro '__sio' 87 | (__sio(m)(smin)(__B) <= ((typeof(__B))0))) || \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:403:30: note: in expansion of macro 'safe_mul' 403 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_alloc_size, new_capacity, mItemSize), | ^~~~~~~~ external/safe-iop/include/safe_iop.h:87:31: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 87 | (__sio(m)(smin)(__B) <= ((typeof(__B))0))) || \ | ^~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:403:30: note: in expansion of macro 'safe_mul' 403 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_alloc_size, new_capacity, mItemSize), | ^~~~~~~~ external/safe-iop/include/safe_iop.h:80:19: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 80 | ((typeof(_a))(~((typeof(_a)) 1 << ((sizeof(typeof(_a)) * CHAR_BIT) - 1)))) | ^~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smax' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:82:18: note: in expansion of macro '__sio' 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:89:7: note: in expansion of macro '__sio' 89 | (__sio(m)(smin)(__B) > ((typeof(__B))0)))) && \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:403:30: note: in expansion of macro 'safe_mul' 403 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_alloc_size, new_capacity, mItemSize), | ^~~~~~~~ external/safe-iop/include/safe_iop.h:80:4: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 80 | ((typeof(_a))(~((typeof(_a)) 1 << ((sizeof(typeof(_a)) * CHAR_BIT) - 1)))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smax' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:82:18: note: in expansion of macro '__sio' 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:89:7: note: in expansion of macro '__sio' 89 | (__sio(m)(smin)(__B) > ((typeof(__B))0)))) && \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:403:30: note: in expansion of macro 'safe_mul' 403 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_alloc_size, new_capacity, mItemSize), | ^~~~~~~~ external/safe-iop/include/safe_iop.h:82:4: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:89:7: note: in expansion of macro '__sio' 89 | (__sio(m)(smin)(__B) > ((typeof(__B))0)))) && \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:403:30: note: in expansion of macro 'safe_mul' 403 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_alloc_size, new_capacity, mItemSize), | ^~~~~~~~ external/safe-iop/include/safe_iop.h:89:30: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 89 | (__sio(m)(smin)(__B) > ((typeof(__B))0)))) && \ | ^~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:403:30: note: in expansion of macro 'safe_mul' 403 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_alloc_size, new_capacity, mItemSize), | ^~~~~~~~ host C++: libart-dexlayout <= art/dexlayout/dex_writer.cc host C++: libvixl <= external/vixl/src/aarch32/assembler-aarch32.cc host C++: libvixl <= external/vixl/src/aarch32/constants-aarch32.cc host C++: libvixl <= external/vixl/src/aarch32/disasm-aarch32.cc system/core/libutils/Threads.cpp: In function 'int androidCreateRawThreadEtc(android_thread_func_t, void*, const char*, int32_t, size_t, void**)': system/core/libutils/Threads.cpp:160:21: warning: cast between incompatible function types from 'android_thread_func_t' {aka 'int (*)(void*)'} to 'android_pthread_entry' {aka 'void* (*)(void*)'} [-Wcast-function-type] 160 | (android_pthread_entry)entryFunction, userData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libvixl <= external/vixl/src/aarch32/instructions-aarch32.cc host C++: libvixl <= external/vixl/src/aarch32/label-aarch32.cc host C++: libvixl <= external/vixl/src/aarch32/macro-assembler-aarch32.cc host C++: libvixl <= external/vixl/src/aarch32/operands-aarch32.cc host C++: libvixl <= external/vixl/src/aarch64/assembler-aarch64.cc host C++: libvixl <= external/vixl/src/aarch64/cpu-aarch64.cc host C++: libvixl <= external/vixl/src/aarch64/debugger-aarch64.cc host C++: libvixl <= external/vixl/src/aarch64/decoder-aarch64.cc host C++: libvixl <= external/vixl/src/aarch64/disasm-aarch64.cc host C++: libvixl <= external/vixl/src/aarch64/instructions-aarch64.cc host C++: libvixl <= external/vixl/src/aarch64/instrument-aarch64.cc host C++: libvixl <= external/vixl/src/aarch64/logic-aarch64.cc host C++: libvixl <= external/vixl/src/aarch64/macro-assembler-aarch64.cc host C++: libvixl <= external/vixl/src/aarch64/operands-aarch64.cc host C++: libvixl <= external/vixl/src/aarch64/simulator-aarch64.cc host C++: libvixl <= external/vixl/src/code-buffer-vixl.cc host C++: libvixl <= external/vixl/src/compiler-intrinsics-vixl.cc host C++: libvixl <= external/vixl/src/utils-vixl.cc host C++: libjavacore <= libcore/dalvik/src/main/native/org_apache_harmony_dalvik_NativeTestTarget.cpp host C++: libjavacore <= libcore/luni/src/main/native/ExecStrings.cpp host C++: libjavacore <= libcore/luni/src/main/native/IcuUtilities.cpp external/vixl/src/aarch64/decoder-aarch64.cc: In member function 'void vixl::aarch64::Decoder::DecodeDataProcessing(const vixl::aarch64::Instruction*)': external/vixl/src/aarch64/decoder-aarch64.cc:507:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 507 | if (instr->ExtractBit(29) == 0x1) { | ^~ external/vixl/src/aarch64/decoder-aarch64.cc:538:9: note: here 538 | case 1: | ^~~~ host C++: libjavacore <= libcore/luni/src/main/native/JniException.cpp host C++: libjavacore <= libcore/luni/src/main/native/NetworkUtilities.cpp host C++: libjavacore <= libcore/luni/src/main/native/Register.cpp host C++: libjavacore <= libcore/luni/src/main/native/ZipUtilities.cpp host C++: libjavacore <= libcore/luni/src/main/native/android_system_OsConstants.cpp host C++: libjavacore <= libcore/luni/src/main/native/cbigint.cpp external/vixl/src/aarch64/disasm-aarch64.cc: In member function 'virtual void vixl::aarch64::Disassembler::VisitLoadStoreUnscaledOffset(const vixl::aarch64::Instruction*)': external/vixl/src/aarch64/disasm-aarch64.cc:1065:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1065 | form = form_x; | ~~~~~^~~~~~~~ external/vixl/src/aarch64/disasm-aarch64.cc:1067:5: note: here 1067 | case LDURSB_w: | ^~~~ external/vixl/src/aarch64/disasm-aarch64.cc:1071:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1071 | form = form_x; | ~~~~~^~~~~~~~ external/vixl/src/aarch64/disasm-aarch64.cc:1073:5: note: here 1073 | case LDURSH_w: | ^~~~ external/vixl/src/aarch64/disasm-aarch64.cc: In member function 'virtual void vixl::aarch64::Disassembler::VisitFPCompare(const vixl::aarch64::Instruction*)': external/vixl/src/aarch64/disasm-aarch64.cc:1392:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1392 | form = form_zero; | ~~~~~^~~~~~~~~~~ external/vixl/src/aarch64/disasm-aarch64.cc:1394:5: note: here 1394 | case FCMP_s: | ^~~~ external/vixl/src/aarch64/disasm-aarch64.cc:1400:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1400 | form = form_zero; | ~~~~~^~~~~~~~~~~ external/vixl/src/aarch64/disasm-aarch64.cc:1402:5: note: here 1402 | case FCMPE_s: | ^~~~ host C++: libjavacore <= libcore/luni/src/main/native/java_lang_StringToReal.cpp host C++: libjavacore <= libcore/luni/src/main/native/java_lang_invoke_MethodHandle.cpp external/vixl/src/aarch64/disasm-aarch64.cc: In member function 'int vixl::aarch64::Disassembler::SubstituteImmediateField(const vixl::aarch64::Instruction*, const char*)': external/vixl/src/aarch64/disasm-aarch64.cc:4461:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 4461 | } | ^ external/vixl/src/aarch64/disasm-aarch64.cc:4462:9: note: here 4462 | case 'L': { // IVLSLane[0123] - suffix indicates access size shift. | ^~~~ external/vixl/src/aarch64/disasm-aarch64.cc:4347:5: warning: this statement may fall through [-Wimplicit-fallthrough=] 4347 | } | ^ external/vixl/src/aarch64/disasm-aarch64.cc:4348:5: note: here 4348 | case 'C': { // ICondB - Immediate Conditional Branch. | ^~~~ host C++: libjavacore <= libcore/luni/src/main/native/java_util_regex_Matcher.cpp host C++: libjavacore <= libcore/luni/src/main/native/java_util_regex_Pattern.cpp external/vixl/src/aarch64/instrument-aarch64.cc: In constructor 'vixl::aarch64::Counter::Counter(const char*, vixl::aarch64::CounterType)': external/vixl/src/aarch64/instrument-aarch64.cc:35:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 256 equals destination size [-Wstringop-truncation] 35 | strncpy(name_, name, kCounterNameMaxLength); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libjavacore <= libcore/luni/src/main/native/libcore_icu_ICU.cpp host C++: libjavacore <= libcore/luni/src/main/native/libcore_icu_NativeConverter.cpp host C++: libjavacore <= libcore/luni/src/main/native/libcore_icu_TimeZoneNames.cpp host C++: libjavacore <= libcore/luni/src/main/native/libcore_io_AsynchronousCloseMonitor.cpp In file included from art/runtime/dex_file-inl.h:23, from art/dexlayout/dex_ir.h:27, from art/dexlayout/dex_ir.cc:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/dex_file-inl.h:23, from art/dexlayout/dex_ir.h:27, from art/dexlayout/dex_ir_builder.h:22, from art/dexlayout/dex_ir_builder.cc:22: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libjavacore <= libcore/luni/src/main/native/libcore_io_Linux.cpp In file included from art/runtime/dex_file-inl.h:23, from art/dexlayout/dex_ir.h:27, from art/dexlayout/dex_verify.h:24, from art/dexlayout/dex_verify.cc:21: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/dex_file-inl.h:23, from art/dexlayout/dex_ir.h:27, from art/dexlayout/dex_writer.h:23, from art/dexlayout/dex_writer.cc:24: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/dex_file-inl.h:23, from art/dexlayout/dex_ir.h:27, from art/dexlayout/dex_visualize.cc:32: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libjavacore <= libcore/luni/src/main/native/libcore_io_Memory.cpp In file included from art/runtime/dex_file-inl.h:23, from art/dexlayout/dex_ir.h:27, from art/dexlayout/dexlayout.h:30, from art/dexlayout/dexlayout.cc:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libjavacore <= libcore/luni/src/main/native/libcore_util_NativeAllocationRegistry.cpp host C++: libjavacore <= libcore/luni/src/main/native/org_apache_harmony_xml_ExpatParser.cpp host C++: libjavacore <= libcore/luni/src/main/native/sun_misc_Unsafe.cpp host C++: libjavacore <= libcore/luni/src/main/native/valueOf.cpp Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libopenjdk_intermediates/import_includes host C++: libopenjdkjvm <= art/runtime/openjdkjvm/OpenjdkJvm.cc host C: libfdlibm <= external/fdlibm/k_standard.c host C: libfdlibm <= external/fdlibm/k_rem_pio2.c In file included from art/cmdline/../../libcore/ojluni/src/main/native/jvm_md.h:68, from art/cmdline/../../libcore/ojluni/src/main/native/jvm.h:33, from art/runtime/openjdkjvm/OpenjdkJvm.cc:43: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libfdlibm <= external/fdlibm/k_cos.c external/fdlibm/k_rem_pio2.c: In function '__kernel_rem_pio2': external/fdlibm/k_rem_pio2.c:188:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 188 | for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw; | ^~~ external/fdlibm/k_rem_pio2.c:188:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 188 | for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw; | ^ host C: libfdlibm <= external/fdlibm/k_sin.c host C: libfdlibm <= external/fdlibm/k_tan.c host C: libfdlibm <= external/fdlibm/e_acos.c external/fdlibm/k_tan.c:1: warning: ignoring '#pragma ident ' [-Wunknown-pragmas] 1 | #pragma ident "@(#)k_tan.c 1.5 04/04/22 SMI" | host C: libfdlibm <= external/fdlibm/e_acosh.c external/fdlibm/k_standard.c: In function '__kernel_standard': external/fdlibm/k_standard.c:732:19: warning: 'exc.retval' may be used uninitialized [-Wmaybe-uninitialized] 732 | return exc.retval; | ~~~^~~~~~~ external/fdlibm/k_standard.c:84:26: note: 'exc' declared here 84 | struct exception exc; | ^~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/handle_scope-inl.h:24, from art/runtime/openjdkjvm/OpenjdkJvm.cc:49: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C: libfdlibm <= external/fdlibm/e_asin.c In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/string-inl.h:25, from art/runtime/openjdkjvm/OpenjdkJvm.cc:53: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C: libfdlibm <= external/fdlibm/e_atan2.c external/fdlibm/e_asin.c: In function '__ieee754_asin': external/fdlibm/e_asin.c:88:15: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 88 | } else | ^~~~ external/fdlibm/e_asin.c:90:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 90 | p = t*(pS0+t*(pS1+t*(pS2+t*(pS3+t*(pS4+t*pS5))))); | ^ external/fdlibm/e_asin.c:91:26: warning: 't' may be used uninitialized [-Wmaybe-uninitialized] 91 | q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4))); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/fdlibm/e_asin.c:76:16: note: 't' was declared here 76 | double t,w,p,q,c,r,s; | ^ host C: libfdlibm <= external/fdlibm/e_atanh.c external/fdlibm/e_atan2.c: In function '__ieee754_atan2': external/fdlibm/e_atan2.c:74:15: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 74 | if((hx-0x3ff00000|lx)==0) return ieee_atan(y); /* x=1.0 */ | ~~^~~~~~~~~~~ host C: libfdlibm <= external/fdlibm/e_cosh.c host C: libfdlibm <= external/fdlibm/e_exp.c external/fdlibm/e_cosh.c: In function '__ieee754_cosh': external/fdlibm/e_cosh.c:81:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 81 | (ix==0x408633ce)&&(lx<=(unsigned)0x8fb9f87d)) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ host C: libfdlibm <= external/fdlibm/e_fmod.c host C: libfdlibm <= external/fdlibm/e_gamma.c art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1207:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1215:12: note: shadowed declaration is here 1215 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1207:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1213:12: note: shadowed declaration is here 1213 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1207:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1211:12: note: shadowed declaration is here 1211 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1207:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1209:15: note: shadowed declaration is here 1209 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1207:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1215:12: note: shadowed declaration is here 1215 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1207:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1213:12: note: shadowed declaration is here 1213 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1207:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1211:12: note: shadowed declaration is here 1211 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1207:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1209:15: note: shadowed declaration is here 1209 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1207:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1215:12: note: shadowed declaration is here 1215 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1207:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1213:12: note: shadowed declaration is here 1213 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1207:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1211:12: note: shadowed declaration is here 1211 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1207:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1209:15: note: shadowed declaration is here 1209 | std::string name; | ^~~~ host C: libfdlibm <= external/fdlibm/e_gamma_r.c host C: libfdlibm <= external/fdlibm/e_hypot.c host C: libfdlibm <= external/fdlibm/e_j0.c host C: libfdlibm <= external/fdlibm/e_j1.c external/fdlibm/e_exp.c: In function '__ieee754_exp': external/fdlibm/e_exp.c:148:52: warning: 'hi' may be used uninitialized [-Wmaybe-uninitialized] 148 | else y = one-((lo-(x*c)/(2.0-c))-hi); | ~~~~~~~~~~~~~~~~~~~^~~~ external/fdlibm/e_exp.c:108:18: note: 'hi' was declared here 108 | double y,hi,lo,c,t; | ^~ external/fdlibm/e_exp.c:148:37: warning: 'lo' may be used uninitialized [-Wmaybe-uninitialized] 148 | else y = one-((lo-(x*c)/(2.0-c))-hi); | ~~~^~~~~~~~~~~~~~~ external/fdlibm/e_exp.c:108:21: note: 'lo' was declared here 108 | double y,hi,lo,c,t; | ^~ external/fdlibm/e_exp.c:147:11: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized] 147 | if(k==0) return one-((x*c)/(c-2.0)-x); | ^ external/fdlibm/e_exp.c:109:13: note: 'k' was declared here 109 | int k,xsb; | ^ host C: libfdlibm <= external/fdlibm/e_jn.c art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1207:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1215:12: note: shadowed declaration is here 1215 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1207:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1213:12: note: shadowed declaration is here 1213 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1207:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1211:12: note: shadowed declaration is here 1211 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1207:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1209:15: note: shadowed declaration is here 1209 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1207:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1215:12: note: shadowed declaration is here 1215 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1207:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1213:12: note: shadowed declaration is here 1213 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1207:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1211:12: note: shadowed declaration is here 1211 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1207:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1209:15: note: shadowed declaration is here 1209 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1207:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1215:12: note: shadowed declaration is here 1215 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1207:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1213:12: note: shadowed declaration is here 1213 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1207:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1211:12: note: shadowed declaration is here 1211 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1207:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1209:15: note: shadowed declaration is here 1209 | std::string name; | ^~~~ host C: libfdlibm <= external/fdlibm/e_lgamma.c art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1207:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1215:12: note: shadowed declaration is here 1215 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1207:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1213:12: note: shadowed declaration is here 1213 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1207:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1211:12: note: shadowed declaration is here 1211 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1207:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1209:15: note: shadowed declaration is here 1209 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1207:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1215:12: note: shadowed declaration is here 1215 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1207:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1213:12: note: shadowed declaration is here 1213 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1207:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1211:12: note: shadowed declaration is here 1211 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1207:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1209:15: note: shadowed declaration is here 1209 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1207:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1215:12: note: shadowed declaration is here 1215 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1207:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1213:12: note: shadowed declaration is here 1213 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1207:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1211:12: note: shadowed declaration is here 1211 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1207:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1209:15: note: shadowed declaration is here 1209 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1207:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1215:12: note: shadowed declaration is here 1215 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1207:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1213:12: note: shadowed declaration is here 1213 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1207:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1211:12: note: shadowed declaration is here 1211 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1207:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1209:15: note: shadowed declaration is here 1209 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1207:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1215:12: note: shadowed declaration is here 1215 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1207:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1213:12: note: shadowed declaration is here 1213 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1207:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1211:12: note: shadowed declaration is here 1211 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1207:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1209:15: note: shadowed declaration is here 1209 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1207:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1215:12: note: shadowed declaration is here 1215 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1207:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1213:12: note: shadowed declaration is here 1213 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1207:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1211:12: note: shadowed declaration is here 1211 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1207:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1209:15: note: shadowed declaration is here 1209 | std::string name; | ^~~~ external/fdlibm/e_j1.c: In function 'pone': external/fdlibm/e_j1.c:338:14: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized] 338 | r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5])))); | ~^~~ external/fdlibm/e_j0.c: In function 'pzero': external/fdlibm/e_j1.c:326:23: note: 'p' was declared here 326 | const double *p,*q; | ^ external/fdlibm/e_j0.c:340:14: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized] 340 | r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5])))); | ~^~~ external/fdlibm/e_j1.c:339:21: warning: 'q' may be used uninitialized [-Wmaybe-uninitialized] 339 | s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*q[4])))); | ~^~~ external/fdlibm/e_j0.c:328:23: note: 'p' was declared here 328 | const double *p,*q; | ^ external/fdlibm/e_j1.c:326:26: note: 'q' was declared here 326 | const double *p,*q; | ^ external/fdlibm/e_j0.c:341:21: warning: 'q' may be used uninitialized [-Wmaybe-uninitialized] 341 | s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*q[4])))); | ~^~~ external/fdlibm/e_j0.c:328:26: note: 'q' was declared here 328 | const double *p,*q; | ^ external/fdlibm/e_jn.c: In function '__ieee754_yn': external/fdlibm/e_jn.c:265:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 265 | for(i=1;i struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/stl_tree.h:63, from /usr/include/c++/13.2.1/map:62, from art/dexlayout/dex_ir.h:22: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/e_sqrt.c host C: libfdlibm <= external/fdlibm/w_acos.c In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/dexlayout/dex_visualize.cc:34: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41, from /usr/include/c++/13.2.1/functional:63, from art/dexlayout/dex_visualize.cc:28: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ external/fdlibm/e_sinh.c: In function '__ieee754_sinh': external/fdlibm/e_sinh.c:74:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 74 | if (ix<0x408633CE || (ix==0x408633ce)&&(lx<=(unsigned)0x8fb9f87d)) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/fdlibm/e_sqrt.c: In function '__ieee754_sqrt': external/fdlibm/e_sqrt.c:161:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 161 | if(((t1&sign)==sign)&&(s1&sign)==0) s0 += 1; | ^~ host C: libfdlibm <= external/fdlibm/w_acosh.c host C: libfdlibm <= external/fdlibm/w_asin.c host C: libfdlibm <= external/fdlibm/w_atan2.c host C: libfdlibm <= external/fdlibm/w_atanh.c host C: libfdlibm <= external/fdlibm/w_cosh.c host C: libfdlibm <= external/fdlibm/w_exp.c host C: libfdlibm <= external/fdlibm/w_fmod.c host C: libfdlibm <= external/fdlibm/w_gamma.c host C: libfdlibm <= external/fdlibm/w_gamma_r.c host C: libfdlibm <= external/fdlibm/w_hypot.c host C: libfdlibm <= external/fdlibm/w_j0.c host C: libfdlibm <= external/fdlibm/w_j1.c host C: libfdlibm <= external/fdlibm/w_jn.c host C: libfdlibm <= external/fdlibm/w_lgamma.c host C: libfdlibm <= external/fdlibm/w_lgamma_r.c host C: libfdlibm <= external/fdlibm/w_log.c host C: libfdlibm <= external/fdlibm/w_log10.c host C: libfdlibm <= external/fdlibm/w_pow.c host C: libfdlibm <= external/fdlibm/w_remainder.c In file included from libcore/luni/src/main/native/libcore_icu_ICU.cpp:37: In function '_jstring* jniCreateString(JNIEnv*, const char16_t*, jsize)', inlined from 'void setStringField(JNIEnv*, jobject, const char*, UResourceBundle*, int)' at libcore/luni/src/main/native/libcore_icu_ICU.cpp:384:19: libnativehelper/include/nativehelper/JNIHelp.h:183:27: warning: 'chars' may be used uninitialized [-Wmaybe-uninitialized] 183 | return jniCreateString(&env->functions, reinterpret_cast(unicodeChars), len); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcore/luni/src/main/native/libcore_icu_ICU.cpp: In function 'void setStringField(JNIEnv*, jobject, const char*, UResourceBundle*, int)': libcore/luni/src/main/native/libcore_icu_ICU.cpp:367:16: note: 'chars' was declared here 367 | const UChar* chars; | ^~~~~ host C: libfdlibm <= external/fdlibm/w_scalb.c host C: libfdlibm <= external/fdlibm/w_sinh.c host C: libfdlibm <= external/fdlibm/w_sqrt.c host C: libfdlibm <= external/fdlibm/s_asinh.c host C: libfdlibm <= external/fdlibm/s_atan.c host C: libfdlibm <= external/fdlibm/s_cbrt.c host C: libfdlibm <= external/fdlibm/s_ceil.c host C: libfdlibm <= external/fdlibm/s_copysign.c external/fdlibm/s_ceil.c: In function 'ieee_ceil': external/fdlibm/s_ceil.c:68:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 68 | if(j is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ host C++: libbacktrace <= system/core/libbacktrace/BacktraceCurrent.cpp host C++: libbacktrace <= system/core/libbacktrace/BacktraceMap.cpp In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/dex2oat/dex2oat.cc:120: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libbacktrace <= system/core/libbacktrace/BacktracePtrace.cpp In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libbacktrace <= system/core/libbacktrace/ThreadEntry.cpp host C++: libbacktrace <= system/core/libbacktrace/UnwindCurrent.cpp art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/elf_utils.h:20, from art/compiler/elf_builder.h:28, from art/compiler/debug/elf_debug_writer.h:26, from art/dex2oat/dex2oat.cc:134: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ host C++: libbacktrace <= system/core/libbacktrace/UnwindMap.cpp In file included from art/dex2oat/dex2oat.cc:140: art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/runtime_options.h:30, from art/dex2oat/dex2oat.cc:166: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | host C++: libbacktrace <= system/core/libbacktrace/UnwindPtrace.cpp host C: libbacktrace <= system/core/libbacktrace/thread_utils.c host SharedLib: libunwind (out/host/linux-x86/obj/lib/libunwind.so) host C++: libziparchive-host <= system/core/libziparchive/zip_archive.cc host SharedLib: libutils (out/host/linux-x86/obj/lib/libutils.so) In file included from system/core/include/ziparchive/zip_archive.h:25, from system/core/libziparchive/zip_archive.cc:43: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ host C++: libopenjdk <= libcore/ojluni/src/main/native/linux_close.cpp system/core/libbacktrace/BacktraceCurrent.cpp: In member function 'bool BacktraceCurrent::DiscardFrame(const backtrace_frame_data_t&)': system/core/libbacktrace/BacktraceCurrent.cpp:90:62: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive] 90 | const std::string library = basename(frame.map.name.c_str()); | ~~~~~~~~~~~~~~~~~~~~^~ | | | const char* In file included from system/core/libbacktrace/BacktraceCurrent.cpp:39: /usr/include/libgen.h:9:16: note: initializing argument 1 of 'char* basename(char*)' 9 | char *basename(char *); | ^~~~~~ host C++: libopenjdk <= libcore/ojluni/src/main/native/Character.cpp In file included from libcore/ojluni/src/main/native/linux_close.cpp:38: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/Character.cpp:22: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ system/core/libbacktrace/Backtrace.cpp: In member function 'std::string Backtrace::GetErrorString(BacktraceUnwindError)': system/core/libbacktrace/Backtrace.cpp:160:1: warning: control reaches end of non-void function [-Wreturn-type] 160 | } | ^ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/openjdkjvm/OpenjdkJvm.cc:45: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libopenjdk <= libcore/ojluni/src/main/native/Register.cpp At global scope: cc1plus: note: unrecognized command-line option '-Wno-extern-c-compat' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C++: libopenjdk <= libcore/ojluni/src/main/native/socket_tagger_util.cpp host C: libopenjdk <= libcore/ojluni/src/main/native/java_util_zip_ZipFile.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/java_util_zip_ZipFile.c:38: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/java_util_zip_Inflater.c cc1plus: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/java_util_zip_Inflater.c:37: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/java_util_zip_Deflater.c cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C: libopenjdk <= libcore/ojluni/src/main/native/java_util_zip_CRC32.c At global scope: cc1plus: note: unrecognized command-line option '-Wno-extern-c-compat' may have been intended to silence earlier diagnostics host C: libopenjdk <= libcore/ojluni/src/main/native/Adler32.c cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/string-inl.h:27: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class_loader.h:21, from art/runtime/openjdkjvm/OpenjdkJvm.cc:52: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ external/wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setVerify': external/wolfssljni/native/com_wolfssl_WolfSSLSession.c:3545:21: warning: 'verifyCb' may be used uninitialized [-Wmaybe-uninitialized] 3545 | if (appData && verifyCb) { | ^~ external/wolfssljni/native/com_wolfssl_WolfSSLSession.c:3518:14: note: 'verifyCb' was declared here 3518 | jobject* verifyCb; | ^~~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/zip_util.c host C: libopenjdk <= libcore/ojluni/src/main/native/jni_util.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/zip_util.c:44: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/jni_util_md.c host C: libopenjdk <= libcore/ojluni/src/main/native/io_util.c host C: libopenjdk <= libcore/ojluni/src/main/native/canonicalize_md.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/jni_util.c:30: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/FileDescriptor_md.c host C: libopenjdk <= libcore/ojluni/src/main/native/DatagramChannelImpl.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/io_util.c:33: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/DatagramDispatcher.c host C: libopenjdk <= libcore/ojluni/src/main/native/Console_md.c libcore/luni/src/main/native/libcore_io_Linux.cpp: In function '_jobjectArray* Linux_getifaddrs(JNIEnv*, jobject)': libcore/luni/src/main/native/libcore_io_Linux.cpp:1599:35: warning: 'addr' may be used uninitialized [-Wmaybe-uninitialized] 1599 | jobject o = env->NewObject(JniConstants::structIfaddrs, ctor, name, flags, addr, netmask, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1600 | broad, hwaddr); | ~~~~~~~~~~~~~~ libcore/luni/src/main/native/libcore_io_Linux.cpp:1548:17: note: 'addr' was declared here 1548 | jobject addr, netmask, broad; | ^~~~ libcore/luni/src/main/native/libcore_io_Linux.cpp:1599:35: warning: 'netmask' may be used uninitialized [-Wmaybe-uninitialized] 1599 | jobject o = env->NewObject(JniConstants::structIfaddrs, ctor, name, flags, addr, netmask, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1600 | broad, hwaddr); | ~~~~~~~~~~~~~~ libcore/luni/src/main/native/libcore_io_Linux.cpp:1548:23: note: 'netmask' was declared here 1548 | jobject addr, netmask, broad; | ^~~~~~~ libcore/luni/src/main/native/libcore_io_Linux.cpp:1599:35: warning: 'broad' may be used uninitialized [-Wmaybe-uninitialized] 1599 | jobject o = env->NewObject(JniConstants::structIfaddrs, ctor, name, flags, addr, netmask, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1600 | broad, hwaddr); | ~~~~~~~~~~~~~~ libcore/luni/src/main/native/libcore_io_Linux.cpp:1548:32: note: 'broad' was declared here 1548 | jobject addr, netmask, broad; | ^~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/IOUtil.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/FileDescriptor_md.c:30: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/DatagramChannelImpl.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/DatagramDispatcher.c:31: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/PollArrayWrapper.c In file included from libcore/ojluni/src/main/native/net_util_md.h:36, from libcore/ojluni/src/main/native/net_util.h:31, from libcore/ojluni/src/main/native/DatagramChannelImpl.c:42: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/Console_md.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ libcore/ojluni/src/main/native/canonicalize_md.c: In function 'JDK_canonicalize': libcore/ojluni/src/main/native/canonicalize_md.c:214:9: warning: 'strncpy' specified bound 4097 equals destination size [-Wstringop-truncation] 214 | strncpy(path, original, sizeof(path)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/SocketChannelImpl.c At top level: cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/IOUtil.c:32: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/FileChannelImpl.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/PollArrayWrapper.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/net_util.h:29, from libcore/ojluni/src/main/native/SocketChannelImpl.c:40: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/FileDispatcherImpl.c In file included from libcore/ojluni/src/main/native/net_util_md.h:36, from libcore/ojluni/src/main/native/net_util.h:31: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/FileOutputStream_md.c cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/FileChannelImpl.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/FileInputStream.c cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C: libopenjdk <= libcore/ojluni/src/main/native/FileSystemPreferences.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/FileDispatcherImpl.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/EPoll.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/FileOutputStream_md.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C: libopenjdk <= libcore/ojluni/src/main/native/EPollPort.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/FileInputStream.c:37: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/EPoll.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/UnixAsynchronousServerSocketChannelImpl.c host C: libopenjdk <= libcore/ojluni/src/main/native/UnixAsynchronousSocketChannelImpl.c cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C: libopenjdk <= libcore/ojluni/src/main/native/io_util_md.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/EPollPort.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/net_util.h:29, from libcore/ojluni/src/main/native/UnixAsynchronousSocketChannelImpl.c:31: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/NativeThread.c libcore/luni/src/main/native/libcore_io_Linux.cpp: In function 'jint Linux_poll(JNIEnv*, jobject, jobjectArray, jint)': libcore/luni/src/main/native/libcore_io_Linux.cpp:1864:11: warning: 'void* memset(void*, int, size_t)' specified bound between 18446744056529682432 and 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 1864 | memset(fds.get(), 0, sizeof(struct pollfd) * arrayLength); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libcore/ojluni/src/main/native/net_util_md.h:36, from libcore/ojluni/src/main/native/net_util.h:31: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/io_util_md.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/FileKey.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/NativeThread.c:30: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/UnixFileSystem_md.c cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from libcore/ojluni/src/main/native/NativeThread.c:41: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/ObjectStreamClass.c cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C: libopenjdk <= libcore/ojluni/src/main/native/ObjectOutputStream.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/FileKey.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from art/dexlayout/dexlayout.cc:40: art/runtime/dex_instruction-inl.h: In member function 'void art::Instruction::GetVarArgs(uint32_t*, uint16_t) const': art/runtime/dex_instruction-inl.h:537:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 537 | arg[4] = InstA(inst_data); | ~~~~~~~^~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:539:5: note: here 539 | case 4: | ^~~~ art/runtime/dex_instruction-inl.h:540:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 540 | arg[3] = (regList >> 12) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:542:5: note: here 542 | case 3: | ^~~~ art/runtime/dex_instruction-inl.h:543:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 543 | arg[2] = (regList >> 8) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:545:5: note: here 545 | case 2: | ^~~~ art/runtime/dex_instruction-inl.h:546:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 546 | arg[1] = (regList >> 4) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:548:5: note: here 548 | case 1: | ^~~~ In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/UnixFileSystem_md.c:39: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/ObjectInputStream.c cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/istream:40, from /usr/include/c++/13.2.1/fstream:40, from art/dex2oat/dex2oat.cc:102: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/ObjectStreamClass.c:27: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C: libopenjdk <= libcore/ojluni/src/main/native/LinuxNativeDispatcher.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/ObjectOutputStream.c:27: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/ObjectInputStream.c:27: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C: libopenjdk <= libcore/ojluni/src/main/native/LinuxWatchService.c host C: libopenjdk <= libcore/ojluni/src/main/native/UnixCopyFile.c host C: libopenjdk <= libcore/ojluni/src/main/native/UnixNativeDispatcher.c host C: libopenjdk <= libcore/ojluni/src/main/native/InetAddress.c host C: libopenjdk <= libcore/ojluni/src/main/native/net_util.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/LinuxNativeDispatcher.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/net_util_md.c host C: libopenjdk <= libcore/ojluni/src/main/native/Net.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/LinuxWatchService.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/MappedByteBuffer.c In file included from libcore/ojluni/src/main/native/LinuxWatchService.c:35: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/Inet6Address.c cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from libcore/ojluni/src/main/native/Net.c:26: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C: libopenjdk <= libcore/ojluni/src/main/native/Inet4Address.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/net_util.h:29, from libcore/ojluni/src/main/native/InetAddress.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/ServerSocketChannelImpl.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/MappedByteBuffer.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from libcore/ojluni/src/main/native/net_util_md.h:36, from libcore/ojluni/src/main/native/net_util.h:31: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/net_util.c:27: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/net_util.h:29, from libcore/ojluni/src/main/native/Inet6Address.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/net_util.h:29, from libcore/ojluni/src/main/native/Inet4Address.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/SocketInputStream.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/net_util_md.c:64: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/Net.c:35: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from libcore/ojluni/src/main/native/net_util_md.h:36, from libcore/ojluni/src/main/native/net_util.h:31, from libcore/ojluni/src/main/native/net_util.c:29: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from libcore/ojluni/src/main/native/net_util_md.h:36, from libcore/ojluni/src/main/native/net_util.h:31: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from libcore/ojluni/src/main/native/net_util_md.h:36, from libcore/ojluni/src/main/native/net_util.h:31, from libcore/ojluni/src/main/native/Net.c:38: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libcore/ojluni/src/main/native/net_util_md.h:36, from libcore/ojluni/src/main/native/net_util.h:31: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from libcore/ojluni/src/main/native/net_util_md.h:36, from libcore/ojluni/src/main/native/net_util.h:31, from libcore/ojluni/src/main/native/net_util_md.c:65: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C: libopenjdk <= libcore/ojluni/src/main/native/SocketOutputStream.c cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/net_util.h:29, from libcore/ojluni/src/main/native/ServerSocketChannelImpl.c:41: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/Float.c In file included from libcore/ojluni/src/main/native/net_util_md.h:36, from libcore/ojluni/src/main/native/net_util.h:31: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/Double.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/SocketInputStream.c:32: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/StrictMath.c In file included from libcore/ojluni/src/main/native/net_util_md.h:36, from libcore/ojluni/src/main/native/net_util.h:31, from libcore/ojluni/src/main/native/SocketInputStream.c:34: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/gc/heap.h:36, from art/runtime/openjdkjvm/OpenjdkJvm.cc:48: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/handle_scope-inl.h:20: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/SocketOutputStream.c:33: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C: libopenjdk <= libcore/ojluni/src/main/native/Math.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/Float.c:27: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from libcore/ojluni/src/main/native/net_util_md.h:36, from libcore/ojluni/src/main/native/net_util.h:31, from libcore/ojluni/src/main/native/SocketOutputStream.c:34: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/Double.c:29: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/ProcessEnvironment_md.c host C: libopenjdk <= libcore/ojluni/src/main/native/System.c cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C: libopenjdk <= libcore/ojluni/src/main/native/Runtime.c cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C: libopenjdk <= libcore/ojluni/src/main/native/UNIXProcess_md.c cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C: libopenjdk <= libcore/ojluni/src/main/native/Bits.c host StaticLib: libfdlibm (out/host/linux-x86/obj/STATIC_LIBRARIES/libfdlibm_intermediates/libfdlibm.a) libcore/ojluni/src/main/native/System.c:32: warning: "_GNU_SOURCE" redefined 32 | #define _GNU_SOURCE | : note: this is the location of the previous definition host SharedLib: libwolfssljni (out/host/linux-x86/obj/lib/libwolfssljni.so) host SharedLib: libnativehelper (out/host/linux-x86/obj/lib/libnativehelper.so) host Executable: acp (out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp) In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/System.c:40: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/UNIXProcess_md.c:30: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/Runtime.c:40: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host SharedLib: libbase (out/host/linux-x86/obj/lib/libbase.so) Install: out/host/linux-x86/bin/acp /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../lib/libc.so: warning: The fgetln() function cannot be safely ported, use getline(3) instead, as it is supported by GNU and POSIX.1-2008. host Executable: dalvikvm (out/host/linux-x86/obj/EXECUTABLES/dalvikvm_intermediates/dalvikvm64) Install: out/host/linux-x86/lib64/liblog.so host Prebuilt: art (out/host/linux-x86/obj/EXECUTABLES/art_intermediates/art) Install: out/host/linux-x86/lib64/libsigchain.so target Prebuilt: art (out/target/product/generic/obj/EXECUTABLES/art_intermediates/art) cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/dex/dex_to_dex_compiler_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/compiled_method_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/driver/compiler_driver_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/driver/compiler_options_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/image_writer_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/optimizing/locations_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/arch/instruction_set_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/base/allocator_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/base/callee_save_type_operator_out.cc cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/base/enums_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/base/mutex_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/base/unix_file/fd_file_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/debugger_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/dex_file_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/dex_file_layout_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/dex_instruction_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/dex_instruction_utils_operator_out.cc cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc_root_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/allocator_type_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/allocator/rosalloc_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/collector_type_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/collector/gc_type_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/heap_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/space/region_space_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/space/space_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/weak_root_state_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/image_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/instrumentation_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/indirect_reference_table_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/invoke_type_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/jdwp/jdwp_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/jdwp/jdwp_constants_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/mirror/class_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/lock_word_operator_out.cc Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/oat_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/object_callbacks_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/process_state_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/stack_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/suspend_reason_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/thread_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/thread_state_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/ti/agent_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/verifier/verifier_enums_operator_out.cc host SharedLib: libziparchive-host (out/host/linux-x86/obj/lib/libziparchive-host.so) Install: out/host/linux-x86/lib64/libcutils.so Install: out/host/linux-x86/lib64/libunwind.so Install: out/host/linux-x86/lib64/libnativebridge.so Install: out/host/linux-x86/lib64/libutils.so host Prebuilt: jarjar (out/host/common/obj/JAVA_LIBRARIES/jarjar_intermediates/javalib.jar) Install: out/host/linux-x86/lib64/libwolfssljni.so Install: out/host/linux-x86/lib64/libnativehelper.so Install: out/host/linux-x86/bin/art Install: out/target/product/generic/system/bin/art host C++: libart-compiler <= art/compiler/compiled_method.cc host C++: libart-compiler <= art/compiler/debug/elf_debug_writer.cc host C++: libart-compiler <= art/compiler/dex/dex_to_dex_compiler.cc host C++: libart-compiler <= art/compiler/dex/inline_method_analyser.cc host C++: libart-compiler <= art/compiler/dex/verification_results.cc host C++: libart-compiler <= art/compiler/dex/verified_method.cc host C++: libart-compiler <= art/compiler/dex/quick_compiler_callbacks.cc host C++: libart-compiler <= art/compiler/driver/compiled_method_storage.cc host C++: libart-compiler <= art/compiler/driver/compiler_driver.cc host C++: libart-compiler <= art/compiler/driver/compiler_options.cc host C++: libart-compiler <= art/compiler/driver/dex_compilation_unit.cc host C++: libart-compiler <= art/compiler/linker/buffered_output_stream.cc host C++: libart-compiler <= art/compiler/linker/file_output_stream.cc cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C++: libart-compiler <= art/compiler/linker/multi_oat_relative_patcher.cc host C++: libart-compiler <= art/compiler/linker/output_stream.cc In file included from art/runtime/elf_utils.h:20, from art/compiler/elf_builder.h:28, from art/compiler/debug/elf_debug_writer.h:26, from art/compiler/debug/elf_debug_writer.cc:17: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ host C++: libart-compiler <= art/compiler/linker/vector_output_stream.cc host C++: libart-compiler <= art/compiler/linker/relative_patcher.cc host C++: libart-compiler <= art/compiler/jit/jit_compiler.cc In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/compiler/dex/inline_method_analyser.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/compiler/debug/elf_debug_info_writer.h:24, from art/compiler/debug/elf_debug_writer.cc:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/compiler/dex/dex_to_dex_compiler.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/compiler/driver/compiler_driver.h:38, from art/compiler/compiled_method.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/verifier/verifier_deps.h:29, from art/compiler/dex/quick_compiler_callbacks.h:21, from art/compiler/dex/quick_compiler_callbacks.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/mutex-inl.h:25, from art/compiler/dex/verification_results.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart-compiler <= art/compiler/jit/jit_logger.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ host C++: libart-compiler <= art/compiler/jni/quick/calling_convention.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/handle_scope-inl.h:24, from art/runtime/verifier/method_verifier-inl.h:24, from art/compiler/dex/verified_method.cc:26: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/compiler/driver/compiled_method_storage.cc:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/verifier/reg_type-inl.h:24, from art/compiler/dex/verified_method.cc:27: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/compiler/driver/compiler_driver.h:38, from art/compiler/driver/compiler_driver.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/dex/quick_compiler_callbacks.cc:19: art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ host C++: libart-compiler <= art/compiler/jni/quick/jni_compiler.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/handle_scope-inl.h:24, from art/runtime/verifier/method_verifier-inl.h:24, from art/compiler/dex/quick_compiler_callbacks.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/dex/verification_results.cc:22: art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/compiler/dex/verification_results.cc:26: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25, from art/compiler/driver/compiler_driver.cc:29: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/dex/dex_to_dex_compiler.cc:29: art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/compiler/driver/compiler_driver.cc:36: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/compiler/driver/compiler_driver.h:38, from art/compiler/jit/jit_logger.h:22, from art/compiler/jit/jit_compiler.h:22, from art/compiler/jit/jit_compiler.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/compiler/driver/compiler_driver.h:38, from art/compiler/jit/jit_logger.h:22, from art/compiler/jit/jit_logger.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/block_builder.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:25, from art/compiler/jit/jit_compiler.cc:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:25, from art/compiler/jit/jit_logger.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/jni/quick/calling_convention.h:25, from art/compiler/jni/quick/calling_convention.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/jni/quick/calling_convention.h:25, from art/compiler/jni/quick/jni_compiler.cc:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart-compiler <= art/compiler/optimizing/bounds_check_elimination.cc In file included from art/runtime/elf_utils.h:20, from art/compiler/elf_builder.h:28, from art/compiler/debug/elf_debug_writer.h:26, from art/compiler/jit/jit_compiler.cc:28: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/compiler/jit/jit_compiler.cc:32: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/compiler/jni/quick/jni_compiler.cc:35: art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/compiler/jit/jit_logger.cc:24: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/block_builder.h:23, from art/compiler/optimizing/block_builder.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/optimization.h:21, from art/compiler/optimizing/bounds_check_elimination.h:20, from art/compiler/optimizing/bounds_check_elimination.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart-compiler <= art/compiler/optimizing/builder.cc host C++: libart-compiler <= art/compiler/optimizing/cha_guard_optimization.cc host C++: libart-compiler <= art/compiler/optimizing/code_generator.cc In file included from art/runtime/base/length_prefixed_array.h:23, from art/compiler/compiled_method.h:28, from art/compiler/compiled_method.cc:17: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/compiler/compiled_method.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/optimization.h:21, from art/compiler/optimizing/cha_guard_optimization.h:20, from art/compiler/optimizing/cha_guard_optimization.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/length_prefixed_array.h:23, from art/compiler/driver/compiled_method_storage.h:24, from art/compiler/driver/compiled_method_storage.cc:20: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from art/compiler/driver/compiled_method_storage.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/block_builder.h:23, from art/compiler/optimizing/builder.h:22, from art/compiler/optimizing/builder.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/code_generator.h:31, from art/compiler/optimizing/code_generator.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart-compiler <= art/compiler/optimizing/code_generator_utils.cc In file included from art/compiler/optimizing/builder.h:25: art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25, from art/compiler/driver/compiler_driver-inl.h:22, from art/compiler/optimizing/instruction_builder.h:25, from art/compiler/optimizing/builder.h:27: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/optimizing/code_generator.cc:49: art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ In file included from art/runtime/method_reference.h:22, from art/compiler/linker/multi_oat_relative_patcher.h:21, from art/compiler/linker/multi_oat_relative_patcher.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/method_reference.h:22, from art/compiler/compiled_method.h:30: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28, from art/compiler/optimizing/code_generator.cc:54: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/dex/dex_to_dex_compiler.h:20, from art/compiler/dex/dex_to_dex_compiler.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/driver/dex_compilation_unit.h:23, from art/compiler/driver/dex_compilation_unit.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/compiler/compiled_method.h:28, from art/compiler/debug/method_debug_info.h:20, from art/compiler/debug/elf_compilation_unit.h:22, from art/compiler/debug/elf_debug_writer.cc:23: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/compiler/debug/elf_debug_writer.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/dex/verified_method.h:23, from art/compiler/dex/verified_method.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/code_generator_utils.cc:18: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/driver/dex_compilation_unit.cc:19: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/compiler/compiled_method.h:28, from art/compiler/jit/jit_logger.h:21: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/compiler/jit/jit_logger.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ In file included from art/runtime/method_reference.h:22, from art/compiler/dex/verification_results.h:27, from art/compiler/dex/verification_results.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/dex/inline_method_analyser.h:22, from art/compiler/dex/inline_method_analyser.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/compiler/compiled_method.h:28, from art/compiler/jit/jit_compiler.h:21: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/compiler/jit/jit_compiler.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/method_reference.h:22, from art/compiler/compiled_method.h:30, from art/compiler/driver/compiled_method_storage.cc:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/register_allocator.h:21, from art/compiler/driver/compiler_options.h:28, from art/compiler/driver/compiler_options.cc:17: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/compiler/driver/compiler_options.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/method_reference.h:22, from art/compiler/linker/relative_patcher.h:26, from art/compiler/linker/relative_patcher.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/method_reference.h:22, from art/compiler/compiled_method.h:30: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/dex_file.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/compiler.h:20, from art/compiler/driver/compiler_driver.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/compiler/driver/compiled_method_storage.h:24, from art/compiler/driver/compiler_driver.h:34: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/stl_tree.h:63, from /usr/include/c++/13.2.1/set:62, from art/compiler/driver/compiler_driver.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/method_reference.h:22, from art/compiler/compiled_method.h:30: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/compiler.h:20, from art/compiler/jni/quick/jni_compiler.h:20, from art/compiler/jni/quick/jni_compiler.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/compiler/driver/compiler_driver.h:35: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/code_sinking.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/compiler/dex/inline_method_analyser.h:21: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/method_reference.h:22, from art/compiler/compiled_method.h:30: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart-compiler <= art/compiler/optimizing/constant_folding.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/compiler/driver/compiler_driver.h:35: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/compiler.h:20, from art/compiler/driver/compiler_driver.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/compiler/driver/compiled_method_storage.h:24, from art/compiler/driver/compiler_driver.h:34: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/compiler_callbacks.h:20, from art/compiler/dex/quick_compiler_callbacks.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/code_sinking.h:20, from art/compiler/optimizing/code_sinking.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart-compiler <= art/compiler/optimizing/dead_code_elimination.cc host C++: libart-compiler <= art/compiler/optimizing/escape.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/block_builder.h:20: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/deque:62, from art/runtime/base/arena_containers.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/base/arena_allocator.h:25, from art/runtime/base/arena_object.h:20, from art/compiler/optimizing/optimization.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/compiler/driver/compiler_driver.h:35: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/compiler/driver/compiler_driver.h:35: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/constant_folding.h:20, from art/compiler/optimizing/constant_folding.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/utils/dedupe_set-inl.h:29, from art/compiler/driver/compiled_method_storage.cc:26: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/escape.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart-compiler <= art/compiler/optimizing/graph_checker.cc In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/base/scoped_arena_containers.h:27, from art/runtime/verifier/method_verifier.h:26, from art/runtime/verifier/method_verifier-inl.h:21: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/compiler/dex/verified_method.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/compiler/driver/compiled_method_storage.h:24, from art/compiler/driver/compiler_driver.h:34: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/stl_tree.h:63, from /usr/include/c++/13.2.1/set:62, from art/compiler/dex/verification_results.h:21: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/compiler/driver/compiler_driver.h:35: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/dead_code_elimination.h:20, from art/compiler/optimizing/dead_code_elimination.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/dead_code_elimination.cc:154:1: warning: multi-line comment [-Wcomment] 154 | // / \ | ^ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/base/arena_allocator.h:25, from art/runtime/base/arena_object.h:20, from art/compiler/optimizing/optimization.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/block_builder.h:22: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/compiler/driver/compiler_driver.h:35: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/verifier/method_verifier-inl.h:23: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/graph_checker.h:20, from art/compiler/optimizing/graph_checker.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/runtime/class_linker.h:36, from art/compiler/jni/quick/jni_compiler.cc:32: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/dex_file.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/builder.h:20: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/deque:62, from art/runtime/base/arena_containers.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/code_generator.h:22: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/arch/instruction_set.h:21, from art/compiler/optimizing/code_generator.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/locations.h:24, from art/compiler/optimizing/code_generator.h:29: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/verifier/reg_type.h:26, from art/runtime/verifier/reg_type-inl.h:20: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/compiler/driver/compiled_method_storage.cc: In member function 'size_t art::CompiledMethodStorage::DedupeHashFunc::operator()(const art::ArrayRef&) const [with ContentType = const unsigned char]': art/compiler/driver/compiled_method_storage.cc:115:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 115 | k1 ^= tail[2] << 16; | ~~~^~~~~~~~~~~~~~~~ art/compiler/driver/compiled_method_storage.cc:117:9: note: here 117 | case 2: | ^~~~ art/compiler/driver/compiled_method_storage.cc:118:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 118 | k1 ^= tail[1] << 8; | ~~~^~~~~~~~~~~~~~~ art/compiler/driver/compiled_method_storage.cc:120:9: note: here 120 | case 1: | ^~~~ art/compiler/driver/compiled_method_storage.cc: In member function 'size_t art::CompiledMethodStorage::DedupeHashFunc::operator()(const art::ArrayRef&) const [with ContentType = const art::LinkerPatch]': art/compiler/driver/compiled_method_storage.cc:115:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 115 | k1 ^= tail[2] << 16; | ~~~^~~~~~~~~~~~~~~~ art/compiler/driver/compiled_method_storage.cc:117:9: note: here 117 | case 2: | ^~~~ art/compiler/driver/compiled_method_storage.cc:118:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 118 | k1 ^= tail[1] << 8; | ~~~^~~~~~~~~~~~~~~ art/compiler/driver/compiled_method_storage.cc:120:9: note: here 120 | case 1: | ^~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/block_builder.h:22: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from art/compiler/optimizing/nodes.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/graph_visualizer.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/gvn.cc In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/compiler/driver/compiler_driver.h:35: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/induction_var_analysis.cc In file included from art/runtime/verifier/method_verifier-inl.h:23: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from art/compiler/optimizing/nodes.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/optimization.h:21, from art/compiler/optimizing/bounds_check_elimination.h:20, from art/compiler/optimizing/graph_visualizer.cc:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/gvn.h:20, from art/compiler/optimizing/gvn.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/builder.h:25, from art/compiler/optimizing/graph_visualizer.cc:25: art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25, from art/compiler/driver/compiler_driver-inl.h:22, from art/compiler/optimizing/instruction_builder.h:25, from art/compiler/optimizing/builder.h:27: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/handle.h:20, from art/runtime/verifier/verifier_deps.h:27: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from art/compiler/optimizing/nodes.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/induction_var_analysis.h:22, from art/compiler/optimizing/induction_var_analysis.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/verifier/method_verifier-inl.h:23, from art/compiler/dex/verification_results.cc:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from art/compiler/optimizing/nodes.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from art/compiler/optimizing/nodes.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from art/compiler/optimizing/nodes.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/compiler/driver/compiler_driver.h:35: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/induction_var_range.cc In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/class-inl.h:31, from art/runtime/verifier/reg_type_cache-inl.h:21, from art/runtime/verifier/register_line-inl.h:23, from art/compiler/dex/verified_method.cc:28: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class_loader.h:21, from art/runtime/verifier/method_verifier-inl.h:22: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/induction_var_analysis.h:22, from art/compiler/optimizing/induction_var_range.h:20, from art/compiler/optimizing/induction_var_range.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/space/image_space.h:22, from art/dex2oat/dex2oat.cc:145: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from art/compiler/optimizing/nodes.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/inliner.cc In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/compiler/optimizing/induction_var_analysis.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/graph_visualizer.h:23, from art/compiler/optimizing/graph_visualizer.cc:17: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/compiler/optimizing/graph_visualizer.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/instruction_builder.cc In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/optimization.h:21, from art/compiler/optimizing/inliner.h:22, from art/compiler/optimizing/inliner.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/block_builder.h:23, from art/compiler/optimizing/instruction_builder.h:22, from art/compiler/optimizing/instruction_builder.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:25, from art/compiler/optimizing/inliner.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/optimizing/builder.h:25, from art/compiler/optimizing/inliner.cc:21: art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ In file included from art/compiler/optimizing/instruction_builder.h:24: art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25, from art/compiler/driver/compiler_driver-inl.h:22, from art/compiler/optimizing/instruction_builder.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/jit/jit.h:20, from art/compiler/optimizing/inliner.cc:33: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | art/runtime/runtime_options.def: At global scope: art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Zygote' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:37:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 37 | RUNTIME_OPTIONS_KEY (Unit, Zygote) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:37:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 37 | RUNTIME_OPTIONS_KEY (Unit, Zygote) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Help' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:38:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 38 | RUNTIME_OPTIONS_KEY (Unit, Help) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:38:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 38 | RUNTIME_OPTIONS_KEY (Unit, Help) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ShowVersion' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:39:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 39 | RUNTIME_OPTIONS_KEY (Unit, ShowVersion) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:39:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 39 | RUNTIME_OPTIONS_KEY (Unit, ShowVersion) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPath_a' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:41:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 41 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath_a) // -Xbootclasspath/a | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:41:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 41 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath_a) // -Xbootclasspath/a | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPathLocations' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:42:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 42 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPathLocations) // std::vector | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:42:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 42 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPathLocations) // std::vector | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ClassPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:43:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 43 | RUNTIME_OPTIONS_KEY (std::string, ClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:43:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 43 | RUNTIME_OPTIONS_KEY (std::string, ClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Image' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:44:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 44 | RUNTIME_OPTIONS_KEY (std::string, Image) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:44:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 44 | RUNTIME_OPTIONS_KEY (std::string, Image) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CheckJni' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:45:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 45 | RUNTIME_OPTIONS_KEY (Unit, CheckJni) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:45:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 45 | RUNTIME_OPTIONS_KEY (Unit, CheckJni) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JniOptsForceCopy' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:46:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 46 | RUNTIME_OPTIONS_KEY (Unit, JniOptsForceCopy) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:46:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 46 | RUNTIME_OPTIONS_KEY (Unit, JniOptsForceCopy) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JdwpOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:47:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 47 | RUNTIME_OPTIONS_KEY (JDWP::JdwpOptions, JdwpOptions) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:47:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 47 | RUNTIME_OPTIONS_KEY (JDWP::JdwpOptions, JdwpOptions) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MemoryMaximumSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:48:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 48 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryMaximumSize, gc::Heap::kDefaultMaximumSize) // -Xmx | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:48:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 48 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryMaximumSize, gc::Heap::kDefaultMaximumSize) // -Xmx | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MemoryInitialSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryInitialSize, gc::Heap::kDefaultInitialSize) // -Xms | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryInitialSize, gc::Heap::kDefaultInitialSize) // -Xms | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapGrowthLimit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapGrowthLimit) // Default is 0 for unlimited | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapGrowthLimit) // Default is 0 for unlimited | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapMinFree' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMinFree, gc::Heap::kDefaultMinFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMinFree, gc::Heap::kDefaultMinFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapMaxFree' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMaxFree, gc::Heap::kDefaultMaxFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMaxFree, gc::Heap::kDefaultMaxFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NonMovingSpaceCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | RUNTIME_OPTIONS_KEY (MemoryKiB, NonMovingSpaceCapacity, gc::Heap::kDefaultNonMovingSpaceCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | RUNTIME_OPTIONS_KEY (MemoryKiB, NonMovingSpaceCapacity, gc::Heap::kDefaultNonMovingSpaceCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapTargetUtilization' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | RUNTIME_OPTIONS_KEY (double, HeapTargetUtilization, gc::Heap::kDefaultTargetUtilization) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | RUNTIME_OPTIONS_KEY (double, HeapTargetUtilization, gc::Heap::kDefaultTargetUtilization) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ForegroundHeapGrowthMultiplier' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | RUNTIME_OPTIONS_KEY (double, ForegroundHeapGrowthMultiplier, gc::Heap::kDefaultHeapGrowthMultiplier) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | RUNTIME_OPTIONS_KEY (double, ForegroundHeapGrowthMultiplier, gc::Heap::kDefaultHeapGrowthMultiplier) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ParallelGCThreads' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | RUNTIME_OPTIONS_KEY (unsigned int, ParallelGCThreads, 0u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | RUNTIME_OPTIONS_KEY (unsigned int, ParallelGCThreads, 0u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ConcGCThreads' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (Memory<1>, StackSize) // -Xss | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (Memory<1>, StackSize) // -Xss | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MaxSpinsBeforeThinLockInflation' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:59:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 59 | RUNTIME_OPTIONS_KEY (unsigned int, MaxSpinsBeforeThinLockInflation,Monitor::kDefaultMaxSpinsBeforeThinLockInflation) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:59:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 59 | RUNTIME_OPTIONS_KEY (unsigned int, MaxSpinsBeforeThinLockInflation,Monitor::kDefaultMaxSpinsBeforeThinLockInflation) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LongPauseLogThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LongGCLogThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:62:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 62 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:62:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 62 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ThreadSuspendTimeout' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:64:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 64 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:64:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 64 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpGCPerformanceOnShutdown' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpJITInfoOnShutdown' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:67:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 67 | RUNTIME_OPTIONS_KEY (Unit, DumpJITInfoOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:67:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 67 | RUNTIME_OPTIONS_KEY (Unit, DumpJITInfoOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'IgnoreMaxFootprint' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, IgnoreMaxFootprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, IgnoreMaxFootprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LowMemoryMode' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:69:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 69 | RUNTIME_OPTIONS_KEY (Unit, LowMemoryMode) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:69:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 69 | RUNTIME_OPTIONS_KEY (Unit, LowMemoryMode) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseTLAB' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:70:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 70 | RUNTIME_OPTIONS_KEY (bool, UseTLAB, (kUseTlab || kUseReadBarrier)) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:70:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 70 | RUNTIME_OPTIONS_KEY (bool, UseTLAB, (kUseTlab || kUseReadBarrier)) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'EnableHSpaceCompactForOOM' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | RUNTIME_OPTIONS_KEY (bool, EnableHSpaceCompactForOOM, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | RUNTIME_OPTIONS_KEY (bool, EnableHSpaceCompactForOOM, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseJitCompilation' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpNativeStackOnSigQuit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | RUNTIME_OPTIONS_KEY (bool, DumpNativeStackOnSigQuit, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | RUNTIME_OPTIONS_KEY (bool, DumpNativeStackOnSigQuit, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MadviseRandomAccess' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | RUNTIME_OPTIONS_KEY (bool, MadviseRandomAccess, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | RUNTIME_OPTIONS_KEY (bool, MadviseRandomAccess, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCompileThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | RUNTIME_OPTIONS_KEY (unsigned int, JITCompileThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | RUNTIME_OPTIONS_KEY (unsigned int, JITCompileThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITWarmupThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (unsigned int, JITWarmupThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (unsigned int, JITWarmupThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITOsrThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | RUNTIME_OPTIONS_KEY (unsigned int, JITOsrThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | RUNTIME_OPTIONS_KEY (unsigned int, JITOsrThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITPriorityThreadWeight' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | RUNTIME_OPTIONS_KEY (unsigned int, JITPriorityThreadWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | RUNTIME_OPTIONS_KEY (unsigned int, JITPriorityThreadWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITInvokeTransitionWeight' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCodeCacheInitialCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheInitialCapacity, jit::JitCodeCache::kInitialCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheInitialCapacity, jit::JitCodeCache::kInitialCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCodeCacheMaxCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheMaxCapacity, jit::JitCodeCache::kMaxCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheMaxCapacity, jit::JitCodeCache::kMaxCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HSpaceCompactForOOMMinIntervalsMs' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'PropertiesList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JniTrace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'PatchOat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:88:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 88 | RUNTIME_OPTIONS_KEY (std::string, PatchOat) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:88:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 88 | RUNTIME_OPTIONS_KEY (std::string, PatchOat) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Relocate' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:89:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 89 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:89:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 89 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Dex2Oat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | RUNTIME_OPTIONS_KEY (bool, Dex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | RUNTIME_OPTIONS_KEY (bool, Dex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageDex2Oat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:91:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 91 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:91:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 91 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Interpret' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (bool, Interpret, false) // -Xint | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (bool, Interpret, false) // -Xint | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'GcOption' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (XGcOption, GcOption) // -Xgc: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (XGcOption, GcOption) // -Xgc: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LargeObjectSpace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | RUNTIME_OPTIONS_KEY (gc::space::LargeObjectSpaceType, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | RUNTIME_OPTIONS_KEY (gc::space::LargeObjectSpaceType, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LargeObjectThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | RUNTIME_OPTIONS_KEY (Memory<1>, LargeObjectThreshold, gc::Heap::kDefaultLargeObjectThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | RUNTIME_OPTIONS_KEY (Memory<1>, LargeObjectThreshold, gc::Heap::kDefaultLargeObjectThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BackgroundGc' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | RUNTIME_OPTIONS_KEY (BackgroundGcOption, BackgroundGc) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | RUNTIME_OPTIONS_KEY (BackgroundGcOption, BackgroundGc) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DisableExplicitGC' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | RUNTIME_OPTIONS_KEY (Unit, DisableExplicitGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | RUNTIME_OPTIONS_KEY (Unit, DisableExplicitGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NoSigChain' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | RUNTIME_OPTIONS_KEY (Unit, NoSigChain) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | RUNTIME_OPTIONS_KEY (Unit, NoSigChain) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ForceNativeBridge' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:102:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 102 | RUNTIME_OPTIONS_KEY (Unit, ForceNativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:102:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 102 | RUNTIME_OPTIONS_KEY (Unit, ForceNativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Verbose' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | RUNTIME_OPTIONS_KEY (LogVerbosity, Verbose) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | RUNTIME_OPTIONS_KEY (LogVerbosity, Verbose) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LockProfThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | RUNTIME_OPTIONS_KEY (unsigned int, LockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | RUNTIME_OPTIONS_KEY (unsigned int, LockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackDumpLockProfThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseTombstonedTraces' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | RUNTIME_OPTIONS_KEY (bool, UseTombstonedTraces, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | RUNTIME_OPTIONS_KEY (bool, UseTombstonedTraces, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackTraceFile' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | RUNTIME_OPTIONS_KEY (std::string, StackTraceFile) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | RUNTIME_OPTIONS_KEY (std::string, StackTraceFile) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTrace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (Unit, MethodTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (Unit, MethodTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceFile' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | RUNTIME_OPTIONS_KEY (std::string, MethodTraceFile, "/data/misc/trace/method-trace-file.bin") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | RUNTIME_OPTIONS_KEY (std::string, MethodTraceFile, "/data/misc/trace/method-trace-file.bin") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceFileSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | RUNTIME_OPTIONS_KEY (unsigned int, MethodTraceFileSize, 10 * MB) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | RUNTIME_OPTIONS_KEY (unsigned int, MethodTraceFileSize, 10 * MB) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceStreaming' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | RUNTIME_OPTIONS_KEY (Unit, MethodTraceStreaming) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | RUNTIME_OPTIONS_KEY (Unit, MethodTraceStreaming) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ProfileClock' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | RUNTIME_OPTIONS_KEY (TraceClockSource, ProfileClock, kDefaultTraceClockSource) // -Xprofile: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | RUNTIME_OPTIONS_KEY (TraceClockSource, ProfileClock, kDefaultTraceClockSource) // -Xprofile: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ProfileSaverOpts' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | RUNTIME_OPTIONS_KEY (ProfileSaverOptions, ProfileSaverOpts) // -Xjitsaveprofilinginfo, -Xps-* | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | RUNTIME_OPTIONS_KEY (ProfileSaverOptions, ProfileSaverOpts) // -Xjitsaveprofilinginfo, -Xps-* | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Compiler' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | RUNTIME_OPTIONS_KEY (std::string, Compiler) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | RUNTIME_OPTIONS_KEY (std::string, Compiler) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CompilerOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageCompilerOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:117:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 117 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:117:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 117 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Verify' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:119:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 119 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:119:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 119 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NativeBridge' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:121:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 121 | RUNTIME_OPTIONS_KEY (std::string, NativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:121:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 121 | RUNTIME_OPTIONS_KEY (std::string, NativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ZygoteMaxFailedBoots' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:122:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 122 | RUNTIME_OPTIONS_KEY (unsigned int, ZygoteMaxFailedBoots, 10) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:122:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 122 | RUNTIME_OPTIONS_KEY (unsigned int, ZygoteMaxFailedBoots, 10) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NoDexFileFallback' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:123:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 123 | RUNTIME_OPTIONS_KEY (Unit, NoDexFileFallback) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:123:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 123 | RUNTIME_OPTIONS_KEY (Unit, NoDexFileFallback) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CpuAbiList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:124:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 124 | RUNTIME_OPTIONS_KEY (std::string, CpuAbiList) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:124:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 124 | RUNTIME_OPTIONS_KEY (std::string, CpuAbiList) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Fingerprint' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:125:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 125 | RUNTIME_OPTIONS_KEY (std::string, Fingerprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:125:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 125 | RUNTIME_OPTIONS_KEY (std::string, Fingerprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Experimental' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:126:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 126 | RUNTIME_OPTIONS_KEY (ExperimentalFlags, Experimental, ExperimentalFlags::kNone) // -Xexperimental:{...} | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:126:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 126 | RUNTIME_OPTIONS_KEY (ExperimentalFlags, Experimental, ExperimentalFlags::kNone) // -Xexperimental:{...} | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'AgentLib' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:127:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 127 | RUNTIME_OPTIONS_KEY (std::list, AgentLib) // -agentlib:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:127:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 127 | RUNTIME_OPTIONS_KEY (std::list, AgentLib) // -agentlib:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'AgentPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:128:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 128 | RUNTIME_OPTIONS_KEY (std::list, AgentPath) // -agentpath:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:128:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 128 | RUNTIME_OPTIONS_KEY (std::list, AgentPath) // -agentpath:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Plugins' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:129:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 129 | RUNTIME_OPTIONS_KEY (std::vector, Plugins) // -Xplugin: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:129:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 129 | RUNTIME_OPTIONS_KEY (std::vector, Plugins) // -Xplugin: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPathDexList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | RUNTIME_OPTIONS_KEY (std::vector>*, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | RUNTIME_OPTIONS_KEY (std::vector>*, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageInstructionSet' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | RUNTIME_OPTIONS_KEY (InstructionSet, ImageInstructionSet, kRuntimeISA) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | RUNTIME_OPTIONS_KEY (InstructionSet, ImageInstructionSet, kRuntimeISA) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CompilerCallbacksPtr' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | RUNTIME_OPTIONS_KEY (CompilerCallbacks*, CompilerCallbacksPtr) // TDOO: make unique_ptr | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | RUNTIME_OPTIONS_KEY (CompilerCallbacks*, CompilerCallbacksPtr) // TDOO: make unique_ptr | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookIsSensitiveThread' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | RUNTIME_OPTIONS_KEY (bool (*)(), HookIsSensitiveThread) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | RUNTIME_OPTIONS_KEY (bool (*)(), HookIsSensitiveThread) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookVfprintf' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | RUNTIME_OPTIONS_KEY (int32_t (*)(FILE* stream, const char* format, va_list ap), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | RUNTIME_OPTIONS_KEY (int32_t (*)(FILE* stream, const char* format, va_list ap), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookExit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | RUNTIME_OPTIONS_KEY (void (*)(int32_t status), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | RUNTIME_OPTIONS_KEY (void (*)(int32_t status), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookAbort' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | RUNTIME_OPTIONS_KEY (void (*)(), HookAbort, nullptr) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | RUNTIME_OPTIONS_KEY (void (*)(), HookAbort, nullptr) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'SlowDebug' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:148:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 148 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:148:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 148 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/compiler/optimizing/induction_var_analysis.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/compiler/dex/dex_to_dex_compiler.cc:22: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/compiler/dex/inline_method_analyser.cc:20: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/stack_map.h:23, from art/compiler/debug/elf_debug_loc_writer.h:28, from art/compiler/debug/elf_debug_info_writer.h:28: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/compiler/driver/compiler_driver.h:35: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In member function 'virtual void art::CHAGuardVisitor::VisitBasicBlock(art::HBasicBlock*)', inlined from 'virtual void art::CHAGuardVisitor::VisitBasicBlock(art::HBasicBlock*)' at art/compiler/optimizing/cha_guard_optimization.cc:75:6: art/compiler/optimizing/cha_guard_optimization.cc:81:25: warning: storing the address of local variable 'it' in '*this.art::CHAGuardVisitor::instruction_iterator_' [-Wdangling-pointer=] 81 | instruction_iterator_ = ⁢ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ art/compiler/optimizing/cha_guard_optimization.cc: In member function 'virtual void art::CHAGuardVisitor::VisitBasicBlock(art::HBasicBlock*)': art/compiler/optimizing/cha_guard_optimization.cc:80:24: note: 'it' declared here 80 | HInstructionIterator it(block->GetInstructions()); | ^~ art/compiler/optimizing/cha_guard_optimization.cc:75:57: note: 'this' declared here 75 | void CHAGuardVisitor::VisitBasicBlock(HBasicBlock* block) { | ^ In file included from art/runtime/handle.h:20, from art/runtime/verifier/method_verifier.h:30: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/handle_scope-inl.h:20: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/dex_file_types.h:21, from art/compiler/optimizing/inliner.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/instruction_simplifier.cc In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:26: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/logging.h:24, from art/runtime/base/array_ref.h:23, from art/compiler/debug/elf_debug_writer.h:22: art/compiler/debug/elf_gnu_debugdata_writer.h: In function 'void art::debug::XzCompress(const std::vector*, std::vector*)': libbase/include/android-base/logging.h:266:35: warning: passing 'lzma_ret' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ art/compiler/debug/elf_gnu_debugdata_writer.h:81:3: note: in expansion of macro 'CHECK_EQ' 81 | CHECK_EQ(ret, LZMA_OK); | ^~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ art/compiler/debug/elf_gnu_debugdata_writer.h:81:3: note: in expansion of macro 'CHECK_EQ' 81 | CHECK_EQ(ret, LZMA_OK); | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/compiler/driver/compiler_driver.cc:30: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:26: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'lzma_ret' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ art/compiler/debug/elf_gnu_debugdata_writer.h:81:3: note: in expansion of macro 'CHECK_EQ' 81 | CHECK_EQ(ret, LZMA_OK); | ^~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ art/compiler/debug/elf_gnu_debugdata_writer.h:81:3: note: in expansion of macro 'CHECK_EQ' 81 | CHECK_EQ(ret, LZMA_OK); | ^~~~~~~~ In file included from art/compiler/debug/elf_debug_writer.cc:28: art/compiler/debug/elf_gnu_debugdata_writer.h:87:14: warning: declaration of 'ret' shadows a previous local [-Wshadow] 87 | lzma_ret ret = lzma_code(&strm, LZMA_FINISH); | ^~~ art/compiler/debug/elf_gnu_debugdata_writer.h:80:12: note: shadowed declaration is here 80 | lzma_ret ret = lzma_easy_encoder(&strm, 1, LZMA_CHECK_CRC64); | ^~~ libbase/include/android-base/logging.h:266:35: warning: passing 'lzma_ret' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ art/compiler/debug/elf_gnu_debugdata_writer.h:95:7: note: in expansion of macro 'CHECK_EQ' 95 | CHECK_EQ(ret, LZMA_STREAM_END); | ^~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ art/compiler/debug/elf_gnu_debugdata_writer.h:95:7: note: in expansion of macro 'CHECK_EQ' 95 | CHECK_EQ(ret, LZMA_STREAM_END); | ^~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'lzma_ret' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ art/compiler/debug/elf_gnu_debugdata_writer.h:95:7: note: in expansion of macro 'CHECK_EQ' 95 | CHECK_EQ(ret, LZMA_STREAM_END); | ^~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ art/compiler/debug/elf_gnu_debugdata_writer.h:95:7: note: in expansion of macro 'CHECK_EQ' 95 | CHECK_EQ(ret, LZMA_STREAM_END); | ^~~~~~~~ art/runtime/base/scoped_arena_containers.h: In instantiation of 'void art::ArenaDelete::ProtectMemory(T*, size_t) const [with T = art::verifier::RegisterLine; size_t = long unsigned int]': art/runtime/verifier/register_line-inl.h:197:18: required from here art/runtime/base/scoped_arena_containers.h:211:13: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class art::verifier::RegisterLine' with no trivial copy-assignment [-Wclass-memaccess] 211 | memset(ptr, kMagicFill, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/verifier/method_verifier.h:33: art/runtime/verifier/register_line.h:61:7: note: 'class art::verifier::RegisterLine' declared here 61 | class RegisterLine { | ^~~~~~~~~~~~ art/runtime/base/scoped_arena_containers.h:218:13: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class art::verifier::RegisterLine' with no trivial copy-assignment [-Wclass-memaccess] 218 | memset(ptr, kMagicFill, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/verifier/register_line.h:61:7: note: 'class art::verifier::RegisterLine' declared here 61 | class RegisterLine { | ^~~~~~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/code_generator.cc:44: art/runtime/base/bit_utils_iterator.h:35:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 35 | : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/compiler/optimizing/dead_code_elimination.cc: In function 'bool art::HasEquality(IfCondition)': art/compiler/optimizing/dead_code_elimination.cc:118:1: warning: control reaches end of non-void function [-Wreturn-type] 118 | } | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/compiler/driver/compiler_driver.cc:33: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/instruction_simplifier.h:20, from art/compiler/optimizing/instruction_simplifier.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart-compiler <= art/compiler/optimizing/intrinsics.cc In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:26: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/elf_builder.h:26: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:25, from art/compiler/optimizing/instruction_simplifier.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/handle.h:20, from art/compiler/dex/dex_to_dex_compiler.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/instruction_builder.h:20: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/deque:62, from art/runtime/base/arena_containers.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/licm.cc In file included from art/runtime/stack_map.h:23, from art/runtime/oat_quick_method_header.h:24, from art/runtime/oat_file-inl.h:21, from art/compiler/jit/jit_logger.cc:26: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/code_generator.h:31, from art/compiler/optimizing/intrinsics.h:20, from art/compiler/optimizing/intrinsics.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/licm.h:20, from art/compiler/optimizing/licm.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/compiler/optimizing/block_builder.h:22: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25, from art/compiler/optimizing/intrinsics.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/compiler/dex/inline_method_analyser.cc:25: art/runtime/dex_instruction-inl.h: In member function 'void art::Instruction::GetVarArgs(uint32_t*, uint16_t) const': art/runtime/dex_instruction-inl.h:537:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 537 | arg[4] = InstA(inst_data); | ~~~~~~~^~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:539:5: note: here 539 | case 4: | ^~~~ art/runtime/dex_instruction-inl.h:540:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 540 | arg[3] = (regList >> 12) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:542:5: note: here 542 | case 3: | ^~~~ art/runtime/dex_instruction-inl.h:543:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 543 | arg[2] = (regList >> 8) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:545:5: note: here 545 | case 2: | ^~~~ art/runtime/dex_instruction-inl.h:546:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 546 | arg[1] = (regList >> 4) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:548:5: note: here 548 | case 1: | ^~~~ In file included from art/compiler/optimizing/intrinsics.cc:22: art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/runtime.h:35, from art/compiler/dex/verified_method.cc:25: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/gc/space/image_space.h:22, from art/compiler/driver/compiler_driver.cc:53: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/dex/inline_method_analyser.cc: In static member function 'static bool art::InlineMethodAnalyser::AnalyseMethodCode(const art::DexFile::CodeItem*, const art::MethodReference&, bool, art::ArtMethod*, art::InlineMethod*)': art/compiler/dex/inline_method_analyser.cc:469:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 469 | if (AnalyseConstMethod(code_item, result)) { | ^~ art/compiler/dex/inline_method_analyser.cc:473:5: note: here 473 | case Instruction::CONST_WIDE: | ^~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/base/length_prefixed_array.h:25: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/stack_map.h:23, from art/runtime/oat_quick_method_header.h:24, from art/runtime/oat_file-inl.h:21, from art/compiler/jit/jit_compiler.cc:34: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/compiler/optimizing/induction_var_analysis.cc: In member function 'art::HInductionVarAnalysis::InductionInfo* art::HInductionVarAnalysis::SolveOp(art::HLoopInformation*, art::HInstruction*, art::HInstruction*, art::HInstruction*, art::HInstruction*, InductionOp)': art/compiler/optimizing/induction_var_analysis.cc:698:25: warning: passing 'art::HInductionVarAnalysis::InductionOp' chooses 'int' over 'unsigned int' [-Wsign-promo] 698 | LOG(FATAL) << op; | ^~ art/compiler/optimizing/induction_var_analysis.cc:698:25: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/linear_order.cc In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/load_store_analysis.cc In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/linear_order.h:20, from art/compiler/optimizing/linear_order.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/length_prefixed_array.h:25: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from art/compiler/optimizing/nodes.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/logging.h:24, from art/runtime/base/bit_utils.h:23, from art/runtime/base/arena_allocator.h:25, from art/runtime/base/arena_object.h:20, from art/runtime/base/arena_bit_vector.h:20: art/compiler/optimizing/induction_var_range.cc: In member function 'art::InductionVarRange::Value art::InductionVarRange::GetLinear(art::HInductionVarAnalysis::InductionInfo*, art::HInductionVarAnalysis::InductionInfo*, bool, bool) const': libbase/include/android-base/logging.h:266:35: warning: passing 'art::HInductionVarAnalysis::InductionClass' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:545:3: note: in expansion of macro 'DCHECK_EQ' 545 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kLinear); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:545:3: note: in expansion of macro 'DCHECK_EQ' 545 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kLinear); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::HInductionVarAnalysis::InductionClass' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:545:3: note: in expansion of macro 'DCHECK_EQ' 545 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kLinear); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:545:3: note: in expansion of macro 'DCHECK_EQ' 545 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kLinear); | ^~~~~~~~~ art/compiler/optimizing/induction_var_range.cc: In member function 'art::InductionVarRange::Value art::InductionVarRange::GetPolynomial(art::HInductionVarAnalysis::InductionInfo*, art::HInductionVarAnalysis::InductionInfo*, bool, bool) const': libbase/include/android-base/logging.h:266:35: warning: passing 'art::HInductionVarAnalysis::InductionClass' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:597:3: note: in expansion of macro 'DCHECK_EQ' 597 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kPolynomial); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:597:3: note: in expansion of macro 'DCHECK_EQ' 597 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kPolynomial); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::HInductionVarAnalysis::InductionClass' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:597:3: note: in expansion of macro 'DCHECK_EQ' 597 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kPolynomial); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:597:3: note: in expansion of macro 'DCHECK_EQ' 597 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kPolynomial); | ^~~~~~~~~ art/compiler/optimizing/induction_var_range.cc: In member function 'art::InductionVarRange::Value art::InductionVarRange::GetGeometric(art::HInductionVarAnalysis::InductionInfo*, art::HInductionVarAnalysis::InductionInfo*, bool, bool) const': libbase/include/android-base/logging.h:266:35: warning: passing 'art::HInductionVarAnalysis::InductionClass' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:623:3: note: in expansion of macro 'DCHECK_EQ' 623 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kGeometric); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:623:3: note: in expansion of macro 'DCHECK_EQ' 623 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kGeometric); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::HInductionVarAnalysis::InductionClass' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:623:3: note: in expansion of macro 'DCHECK_EQ' 623 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kGeometric); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:623:3: note: in expansion of macro 'DCHECK_EQ' 623 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kGeometric); | ^~~~~~~~~ art/compiler/optimizing/induction_var_range.cc: In member function 'art::InductionVarRange::Value art::InductionVarRange::MulRangeAndConstant(int64_t, art::HInductionVarAnalysis::InductionInfo*, art::HInductionVarAnalysis::InductionInfo*, bool, bool) const': art/compiler/optimizing/induction_var_range.cc:875:65: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] 875 | return MulValue(GetVal(info, trip, in_body, is_min == value >= 0), c); | ~~~~~~^~~~ art/compiler/optimizing/induction_var_range.cc: In member function 'art::InductionVarRange::Value art::InductionVarRange::DivRangeAndConstant(int64_t, art::HInductionVarAnalysis::InductionInfo*, art::HInductionVarAnalysis::InductionInfo*, bool, bool) const': art/compiler/optimizing/induction_var_range.cc:888:65: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] 888 | return DivValue(GetVal(info, trip, in_body, is_min == value >= 0), c); | ~~~~~~^~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc: In member function 'bool art::InductionVarRange::GenerateLastValuePolynomial(art::HInductionVarAnalysis::InductionInfo*, art::HInductionVarAnalysis::InductionInfo*, art::HGraph*, art::HBasicBlock*, art::HInstruction**) const': libbase/include/android-base/logging.h:266:35: warning: passing 'art::HInductionVarAnalysis::InductionClass' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1030:3: note: in expansion of macro 'DCHECK_EQ' 1030 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kPolynomial); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1030:3: note: in expansion of macro 'DCHECK_EQ' 1030 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kPolynomial); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::HInductionVarAnalysis::InductionClass' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1030:3: note: in expansion of macro 'DCHECK_EQ' 1030 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kPolynomial); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1030:3: note: in expansion of macro 'DCHECK_EQ' 1030 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kPolynomial); | ^~~~~~~~~ art/compiler/optimizing/induction_var_range.cc: In member function 'bool art::InductionVarRange::GenerateLastValueGeometric(art::HInductionVarAnalysis::InductionInfo*, art::HInductionVarAnalysis::InductionInfo*, art::HGraph*, art::HBasicBlock*, art::HInstruction**) const': libbase/include/android-base/logging.h:266:35: warning: passing 'art::HInductionVarAnalysis::InductionClass' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1063:3: note: in expansion of macro 'DCHECK_EQ' 1063 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kGeometric); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1063:3: note: in expansion of macro 'DCHECK_EQ' 1063 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kGeometric); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::HInductionVarAnalysis::InductionClass' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1063:3: note: in expansion of macro 'DCHECK_EQ' 1063 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kGeometric); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1063:3: note: in expansion of macro 'DCHECK_EQ' 1063 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kGeometric); | ^~~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/load_store_analysis.h:21, from art/compiler/optimizing/load_store_analysis.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/compiler/optimizing/induction_var_range.cc: In member function 'bool art::InductionVarRange::GenerateLastValueWrapAround(art::HInductionVarAnalysis::InductionInfo*, art::HInductionVarAnalysis::InductionInfo*, art::HGraph*, art::HBasicBlock*, art::HInstruction**) const': libbase/include/android-base/logging.h:266:35: warning: passing 'art::HInductionVarAnalysis::InductionClass' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1114:3: note: in expansion of macro 'DCHECK_EQ' 1114 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kWrapAround); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1114:3: note: in expansion of macro 'DCHECK_EQ' 1114 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kWrapAround); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::HInductionVarAnalysis::InductionClass' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1114:3: note: in expansion of macro 'DCHECK_EQ' 1114 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kWrapAround); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1114:3: note: in expansion of macro 'DCHECK_EQ' 1114 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kWrapAround); | ^~~~~~~~~ art/compiler/optimizing/induction_var_range.cc: In member function 'bool art::InductionVarRange::GenerateLastValuePeriodic(art::HInductionVarAnalysis::InductionInfo*, art::HInductionVarAnalysis::InductionInfo*, art::HGraph*, art::HBasicBlock*, art::HInstruction**, bool*) const': libbase/include/android-base/logging.h:266:35: warning: passing 'art::HInductionVarAnalysis::InductionClass' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1136:3: note: in expansion of macro 'DCHECK_EQ' 1136 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kPeriodic); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1136:3: note: in expansion of macro 'DCHECK_EQ' 1136 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kPeriodic); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::HInductionVarAnalysis::InductionClass' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1136:3: note: in expansion of macro 'DCHECK_EQ' 1136 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kPeriodic); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1136:3: note: in expansion of macro 'DCHECK_EQ' 1136 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kPeriodic); | ^~~~~~~~~ In file included from art/compiler/optimizing/code_generator.cc:52: art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:182:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 182 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::HInductionVarAnalysis::InductionClass' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1142:5: note: in expansion of macro 'DCHECK_EQ' 1142 | DCHECK_EQ(p->op_a->induction_class, HInductionVarAnalysis::kInvariant); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1142:5: note: in expansion of macro 'DCHECK_EQ' 1142 | DCHECK_EQ(p->op_a->induction_class, HInductionVarAnalysis::kInvariant); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::HInductionVarAnalysis::InductionClass' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1142:5: note: in expansion of macro 'DCHECK_EQ' 1142 | DCHECK_EQ(p->op_a->induction_class, HInductionVarAnalysis::kInvariant); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1142:5: note: in expansion of macro 'DCHECK_EQ' 1142 | DCHECK_EQ(p->op_a->induction_class, HInductionVarAnalysis::kInvariant); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::HInductionVarAnalysis::InductionClass' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1147:3: note: in expansion of macro 'DCHECK_EQ' 1147 | DCHECK_EQ(p->induction_class, HInductionVarAnalysis::kInvariant); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1147:3: note: in expansion of macro 'DCHECK_EQ' 1147 | DCHECK_EQ(p->induction_class, HInductionVarAnalysis::kInvariant); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::HInductionVarAnalysis::InductionClass' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1147:3: note: in expansion of macro 'DCHECK_EQ' 1147 | DCHECK_EQ(p->induction_class, HInductionVarAnalysis::kInvariant); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/induction_var_range.cc:1147:3: note: in expansion of macro 'DCHECK_EQ' 1147 | DCHECK_EQ(p->induction_class, HInductionVarAnalysis::kInvariant); | ^~~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from art/compiler/optimizing/nodes.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/logging.h:24, from art/runtime/base/array_ref.h:23, from art/compiler/driver/compiler_driver.h:26: art/compiler/driver/compiler_driver.cc: In member function 'bool art::CompilerDriver::FastVerify(jobject, const std::vector&, art::TimingLogger*)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::AtomicDexRefMap::InsertResult' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ art/compiler/driver/compiler_driver.cc:1949:11: note: in expansion of macro 'CHECK_EQ' 1949 | CHECK_EQ(result, ClassStateTable::kInsertResultSuccess); | ^~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ art/compiler/driver/compiler_driver.cc:1949:11: note: in expansion of macro 'CHECK_EQ' 1949 | CHECK_EQ(result, ClassStateTable::kInsertResultSuccess); | ^~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::AtomicDexRefMap::InsertResult' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ art/compiler/driver/compiler_driver.cc:1949:11: note: in expansion of macro 'CHECK_EQ' 1949 | CHECK_EQ(result, ClassStateTable::kInsertResultSuccess); | ^~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ art/compiler/driver/compiler_driver.cc:1949:11: note: in expansion of macro 'CHECK_EQ' 1949 | CHECK_EQ(result, ClassStateTable::kInsertResultSuccess); | ^~~~~~~~ In function 'size_t art::{anonymous}::CountForwardedConstructorArguments(const art::DexFile::CodeItem*, const art::Instruction*, uint16_t)', inlined from 'bool art::{anonymous}::DoAnalyseConstructor(const art::DexFile::CodeItem*, art::ArtMethod*, ConstructorIPutData (&)[3])' at art/compiler/dex/inline_method_analyser.cc:318:60: art/compiler/dex/inline_method_analyser.cc:169:12: warning: 'args[0]' may be used uninitialized [-Wmaybe-uninitialized] 169 | uint16_t this_vreg = args[0]; | ^~~~~~~~~ art/compiler/dex/inline_method_analyser.cc: In function 'bool art::{anonymous}::DoAnalyseConstructor(const art::DexFile::CodeItem*, art::ArtMethod*, ConstructorIPutData (&)[3])': art/compiler/dex/inline_method_analyser.cc:167:12: note: 'args[0]' was declared here 167 | uint32_t args[Instruction::kMaxVarArgRegs]; | ^~~~ host C++: libart-compiler <= art/compiler/optimizing/load_store_elimination.cc In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/code_generator.h:22: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/arch/instruction_set.h:21, from art/compiler/optimizing/code_generator.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/locations.cc In file included from art/compiler/optimizing/locations.h:24, from art/compiler/optimizing/code_generator.h:29: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/compiler/optimizing/induction_var_analysis.cc: In member function 'void art::HInductionVarAnalysis::ClassifyNonTrivial(art::HLoopInformation*)': art/compiler/optimizing/induction_var_analysis.cc:355:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 355 | induction = CreateInduction(kLinear, kNop, induction, initial, /*fetch*/ nullptr, type_); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/induction_var_analysis.cc:357:7: note: here 357 | case kPolynomial: | ^~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/load_store_analysis.h:21, from art/compiler/optimizing/load_store_elimination.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/locations.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/length_prefixed_array.h:25: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart-compiler <= art/compiler/optimizing/loop_optimization.cc In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/nodes.cc In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/compiler/driver/compiler_driver-inl.h:23: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/instrumentation.h:28, from art/runtime/thread.h:38: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ art/compiler/optimizing/induction_var_range.cc: In member function 'art::InductionVarRange::Value art::InductionVarRange::GetVal(art::HInductionVarAnalysis::InductionInfo*, art::HInductionVarAnalysis::InductionInfo*, bool, bool) const': art/compiler/optimizing/induction_var_range.cc:736:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 736 | if (!in_body && !is_min) { // one extra! | ^~ art/compiler/optimizing/induction_var_range.cc:740:11: note: here 740 | case HInductionVarAnalysis::kTripCountInBody: | ^~~~ art/compiler/optimizing/induction_var_range.cc: In member function 'bool art::InductionVarRange::GenerateCode(art::HInductionVarAnalysis::InductionInfo*, art::HInductionVarAnalysis::InductionInfo*, art::HGraph*, art::HBasicBlock*, art::HInstruction**, bool, bool) const': art/compiler/optimizing/induction_var_range.cc:1282:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 1282 | if (!in_body && !is_min) { // one extra! | ^~ art/compiler/optimizing/induction_var_range.cc:1286:11: note: here 1286 | case HInductionVarAnalysis::kTripCountInBody: | ^~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/nodes.cc:16: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/induction_var_analysis.h:22, from art/compiler/optimizing/induction_var_range.h:20, from art/compiler/optimizing/loop_optimization.h:20, from art/compiler/optimizing/loop_optimization.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from art/compiler/optimizing/nodes.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:25, from art/compiler/optimizing/nodes.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/optimizing/loop_optimization.cc:26: art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/optimization.cc In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from art/compiler/optimizing/nodes.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/optimizing_compiler.cc In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/optimization.h:21, from art/compiler/optimizing/optimization.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart-compiler <= art/compiler/optimizing/parallel_move_resolver.cc In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/pc_relative_fixups_x86.h:20, from art/compiler/optimizing/optimizing_compiler.cc:36: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/parallel_move_resolver.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from art/compiler/optimizing/nodes.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26, from art/runtime/mirror/array-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ host C++: libart-compiler <= art/compiler/optimizing/prepare_for_register_allocation.cc In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/locations.h:20, from art/compiler/optimizing/locations.cc:17: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/deque:62, from art/runtime/base/arena_containers.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:25, from art/compiler/optimizing/optimizing_compiler.cc:43: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/reference_type_propagation.cc In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/compiler/optimizing/locations.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/builder.h:25, from art/compiler/optimizing/optimizing_compiler.cc:51: art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/elf_utils.h:20, from art/compiler/elf_builder.h:28, from art/compiler/debug/elf_debug_writer.h:26, from art/compiler/optimizing/optimizing_compiler.cc:59: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/compiler/optimizing/optimizing_compiler.cc:77: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/prepare_for_register_allocation.h:20, from art/compiler/optimizing/prepare_for_register_allocation.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:190:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 190 | ALWAYS_INLINE bool operator!=(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/compiler/optimizing/induction_var_analysis.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/handle_scope-inl.h:24, from art/compiler/optimizing/reference_type_propagation.h:22, from art/compiler/optimizing/reference_type_propagation.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/reference_type_propagation.h:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from art/compiler/optimizing/nodes.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/register_allocation_resolver.cc In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/code_generator.h:31, from art/compiler/optimizing/register_allocation_resolver.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart-compiler <= art/compiler/optimizing/register_allocator.cc In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/base/arena_allocator.h:25, from art/runtime/base/arena_object.h:20, from art/compiler/optimizing/optimization.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/code_generator.h:31, from art/compiler/optimizing/register_allocator.cc:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/parallel_move_resolver.h:20, from art/compiler/optimizing/parallel_move_resolver.cc:17: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/deque:62, from art/runtime/base/arena_containers.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/compiler/optimizing/locations.h:24, from art/compiler/optimizing/parallel_move_resolver.h:22: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/compiler/optimizing/optimizing_compiler.h:20, from art/compiler/optimizing/optimizing_compiler.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/register_allocator_graph_color.cc In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from art/compiler/optimizing/nodes.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/code_generator.h:31, from art/compiler/optimizing/register_allocator_graph_color.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:182:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 182 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/compiler/optimizing/register_allocator_graph_color.cc:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart-compiler <= art/compiler/optimizing/register_allocator_linear_scan.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/compiler/driver/compiler_driver-inl.h:23: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/instrumentation.h:28, from art/runtime/thread.h:38: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/register_allocation_resolver.h:20, from art/compiler/optimizing/register_allocation_resolver.cc:17: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/deque:62, from art/runtime/base/arena_containers.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/code_generator.h:31, from art/compiler/optimizing/register_allocator_linear_scan.cc:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/reference_type_propagation.h:20: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/deque:62, from art/runtime/base/arena_containers.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/locations.h:24, from art/compiler/optimizing/code_generator.h:29: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart-compiler <= art/compiler/optimizing/select_generator.cc In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/compiler/driver/dex_compilation_unit.h:23, from art/compiler/optimizing/reference_type_propagation.h:21: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/register_allocator.h:21, from art/compiler/optimizing/register_allocator.cc:17: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/arch/instruction_set.h:21, from art/compiler/optimizing/register_allocator.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/optimization.h:21, from art/compiler/optimizing/select_generator.h:44, from art/compiler/optimizing/select_generator.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/memory_region.h:25, from art/compiler/optimizing/code_generator.h:30: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/bit_vector-inl.h:23, from art/compiler/optimizing/register_allocator.cc:22: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/instrumentation.h:28, from art/runtime/thread.h:38: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/scheduler.cc In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/compiler/driver/compiler_driver-inl.h:23: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/instrumentation.h:28, from art/runtime/thread.h:38: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/register_allocator_graph_color.h:21, from art/compiler/optimizing/register_allocator_graph_color.cc:17: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/arch/instruction_set.h:21, from art/compiler/optimizing/register_allocator_graph_color.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/prepare_for_register_allocation.h:20, from art/compiler/optimizing/scheduler.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart-compiler <= art/compiler/optimizing/sharpening.cc In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/scheduler.h:23, from art/compiler/optimizing/scheduler.cc:20: art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/compiler/optimizing/locations.h:24, from art/compiler/optimizing/code_generator.h:29: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/sharpening.h:20, from art/compiler/optimizing/sharpening.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart-compiler <= art/compiler/optimizing/side_effects_analysis.cc In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/register_allocator_linear_scan.h:21, from art/compiler/optimizing/register_allocator_linear_scan.cc:17: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/arch/instruction_set.h:21, from art/compiler/optimizing/register_allocator_linear_scan.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:25, from art/compiler/optimizing/sharpening.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/bit_vector-inl.h:23, from art/compiler/optimizing/register_allocator_linear_scan.cc:22: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/sharpening.cc:27: art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/base/arena_allocator.h:25, from art/runtime/base/arena_object.h:20, from art/compiler/optimizing/optimization.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/side_effects_analysis.h:21, from art/compiler/optimizing/side_effects_analysis.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/handle.h:26, from art/runtime/handle_scope.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/instrumentation.h:28, from art/runtime/thread.h:38: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/ssa_builder.cc In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/inliner.cc:32: art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:182:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 182 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/compiler/optimizing/scheduler.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/ssa_builder.h:21, from art/compiler/optimizing/ssa_builder.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart-compiler <= art/compiler/optimizing/ssa_liveness_analysis.cc In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from art/compiler/optimizing/nodes.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/ssa_phi_elimination.cc In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31, from art/compiler/optimizing/ssa_builder.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/ssa_liveness_analysis.h:23, from art/compiler/optimizing/ssa_liveness_analysis.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/stack_map_stream.cc host C++: libart-compiler <= art/compiler/trampolines/trampoline_compiler.cc In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/ssa_phi_elimination.h:21, from art/compiler/optimizing/ssa_phi_elimination.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/side_effects_analysis.h:20: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/deque:62, from art/runtime/base/arena_containers.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/optimizing/instruction_simplifier.cc:22: art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:182:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 182 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/stack_map_stream.h:26, from art/compiler/optimizing/stack_map_stream.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/compiler/driver/compiler_driver.h:38, from art/compiler/trampolines/trampoline_compiler.h:23, from art/compiler/trampolines/trampoline_compiler.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:25, from art/compiler/optimizing/stack_map_stream.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/compiler/optimizing/intrinsics.cc:20: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/instrumentation.h:28, from art/runtime/thread.h:38: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:190:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 190 | ALWAYS_INLINE bool operator!=(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/utils/assembler.cc art/compiler/optimizing/register_allocator.cc: In static member function 'static art::RegisterAllocator* art::RegisterAllocator::Create(art::ArenaAllocator*, art::CodeGenerator*, const art::SsaLivenessAnalysis&, Strategy)': art/compiler/optimizing/register_allocator.cc:48:65: warning: passing 'art::RegisterAllocator::Strategy' chooses 'int' over 'unsigned int' [-Wsign-promo] 48 | LOG(FATAL) << "Invalid register allocation strategy: " << strategy; | ^~~~~~~~ art/compiler/optimizing/register_allocator.cc:48:65: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/ssa_builder.h:20: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/deque:62, from art/runtime/base/arena_containers.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/bytecode_utils.h:23, from art/compiler/optimizing/instruction_builder.cc:20: art/runtime/dex_instruction-inl.h: In member function 'void art::Instruction::GetVarArgs(uint32_t*, uint16_t) const': art/runtime/dex_instruction-inl.h:537:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 537 | arg[4] = InstA(inst_data); | ~~~~~~~^~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:539:5: note: here 539 | case 4: | ^~~~ art/runtime/dex_instruction-inl.h:540:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 540 | arg[3] = (regList >> 12) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:542:5: note: here 542 | case 3: | ^~~~ art/runtime/dex_instruction-inl.h:543:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 543 | arg[2] = (regList >> 8) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:545:5: note: here 545 | case 2: | ^~~~ art/runtime/dex_instruction-inl.h:546:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 546 | arg[1] = (regList >> 4) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:548:5: note: here 548 | case 1: | ^~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from /usr/include/c++/13.2.1/iostream:41, from art/compiler/optimizing/ssa_liveness_analysis.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28, from art/compiler/optimizing/reference_type_propagation.cc:19: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/ssa_phi_elimination.h:20: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/deque:62, from art/runtime/base/arena_containers.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/instrumentation.h:28, from art/runtime/thread.h:38: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/memory_region.h:25, from art/compiler/optimizing/code_generator.h:30: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/compiler/optimizing/register_allocation_resolver.cc: In member function 'void art::RegisterAllocationResolver::Resolve(art::ArrayRef, size_t, size_t, size_t, size_t, size_t, size_t, art::ArenaVector&)': art/compiler/optimizing/register_allocation_resolver.cc:104:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 104 | slot += long_spill_slots; | ~~~~~^~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/register_allocation_resolver.cc:106:9: note: here 106 | case Primitive::kPrimLong: | ^~~~ art/compiler/optimizing/register_allocation_resolver.cc:107:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 107 | slot += float_spill_slots; | ~~~~~^~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/register_allocation_resolver.cc:109:9: note: here 109 | case Primitive::kPrimFloat: | ^~~~ art/compiler/optimizing/register_allocation_resolver.cc:110:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 110 | slot += int_spill_slots; | ~~~~~^~~~~~~~~~~~~~~~~~ art/compiler/optimizing/register_allocation_resolver.cc:112:9: note: here 112 | case Primitive::kPrimNot: | ^~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/stack_map_stream.h:20: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/deque:62, from art/runtime/base/arena_containers.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/compiler/compiler.h:20, from art/compiler/driver/compiler_driver.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/compiler/driver/compiled_method_storage.h:24, from art/compiler/driver/compiler_driver.h:34: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/compiler/trampolines/trampoline_compiler.h:21: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/bit_vector-inl.h:23, from art/compiler/optimizing/stack_map_stream.h:21: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart-compiler <= art/compiler/utils/jni_macro_assembler.cc host C++: libart-compiler <= art/compiler/utils/swap_space.cc In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/compiler/driver/compiler_driver.h:35: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/compiler/utils/swap_space.cc:27: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.cc:28: art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:182:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 182 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/instrumentation.h:28, from art/runtime/thread.h:38: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/handle.h:26, from art/runtime/handle_scope.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/compiler.cc In file included from art/runtime/art_method-inl.h:32, from art/compiler/optimizing/reference_type_propagation.cc:20: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/instrumentation.h:28, from art/runtime/thread.h:38: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/compiler/driver/compiler_driver.h:38, from art/compiler/compiler.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ host C++: libart-compiler <= art/compiler/elf_writer.cc In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/utils/x86/assembler_x86.h:22, from art/compiler/utils/x86/jni_macro_assembler_x86.h:22, from art/compiler/utils/jni_macro_assembler.cc:35: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/compiler/utils/jni_macro_assembler.h:20, from art/compiler/utils/jni_macro_assembler.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/elf_writer_quick.cc In file included from art/runtime/handle.h:20, from art/compiler/driver/dex_compilation_unit.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/handle_scope-inl.h:20: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/elf_utils.h:20, from art/compiler/elf_builder.h:28, from art/compiler/debug/elf_debug_writer.h:26, from art/compiler/elf_writer_quick.cc:26: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart-compiler <= art/compiler/image_writer.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/trampolines/trampoline_compiler.cc: In function 'std::unique_ptr > art::x86::CreateTrampoline(art::ArenaAllocator*, art::ThreadOffset32)': art/compiler/trampolines/trampoline_compiler.cc:217:19: warning: redundant move in return statement [-Wredundant-move] 217 | return std::move(entry_stub); | ~~~~~~~~~^~~~~~~~~~~~ art/compiler/trampolines/trampoline_compiler.cc:217:19: note: remove 'std::move' call art/compiler/trampolines/trampoline_compiler.cc: In function 'std::unique_ptr > art::x86_64::CreateTrampoline(art::ArenaAllocator*, art::ThreadOffset64)': art/compiler/trampolines/trampoline_compiler.cc:238:19: warning: redundant move in return statement [-Wredundant-move] 238 | return std::move(entry_stub); | ~~~~~~~~~^~~~~~~~~~~~ art/compiler/trampolines/trampoline_compiler.cc:238:19: note: remove 'std::move' call In file included from art/runtime/thread-current-inl.h:20, from art/compiler/elf_writer_quick.cc:36: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart-compiler <= art/compiler/oat_writer.cc host C++: libart-compiler <= art/compiler/jni/quick/x86/calling_convention_x86.cc In file included from art/runtime/mirror/class.h:36, from art/compiler/driver/compiler_driver.h:38, from art/compiler/image_writer.h:37, from art/compiler/image_writer.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25, from art/compiler/image_writer.cc:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/elf_utils.h:20, from art/compiler/image_writer.cc:40: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/compiler/oat_writer.h:29, from art/compiler/oat_writer.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/jni/quick/calling_convention.h:25, from art/compiler/jni/quick/x86/calling_convention_x86.h:21, from art/compiler/jni/quick/x86/calling_convention_x86.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/handle_scope-inl.h:24, from art/compiler/jni/quick/x86/calling_convention_x86.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:25, from art/compiler/oat_writer.cc:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/compiler.h:20, from art/compiler/compiler.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/driver/compiler_driver-inl.h:20, from art/compiler/oat_writer.cc:36: art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ host C++: libart-compiler <= art/compiler/jni/quick/x86_64/calling_convention_x86_64.cc In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/base/length_prefixed_array.h:23, from art/compiler/driver/compiled_method_storage.h:24, from art/compiler/driver/compiler_driver.h:34: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/dex_file.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/linker/x86/relative_patcher_x86.cc In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/compiler/jni/quick/calling_convention.h:25, from art/compiler/jni/quick/x86_64/calling_convention_x86_64.h:21, from art/compiler/jni/quick/x86_64/calling_convention_x86_64.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/handle_scope-inl.h:24, from art/compiler/jni/quick/x86_64/calling_convention_x86_64.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/logging.h:24, from art/runtime/base/bit_utils.h:23, from art/runtime/base/arena_allocator.h:25, from art/runtime/base/arena_object.h:20, from art/runtime/base/arena_bit_vector.h:20: art/compiler/optimizing/nodes.cc: In member function 'art::HConstant* art::HGraph::GetConstant(art::Primitive::Type, int64_t, uint32_t)': libbase/include/android-base/logging.h:329:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | if (::android::base::kEnableDChecks) CHECK(x) | ^~ art/compiler/optimizing/nodes.cc:543:7: note: in expansion of macro 'DCHECK' 543 | DCHECK(IsUint<1>(value)); | ^~~~~~ art/compiler/optimizing/nodes.cc:545:5: note: here 545 | case Primitive::Type::kPrimByte: | ^~~~ In file included from art/compiler/optimizing/optimizing_compiler.cc:75: art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:182:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 182 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/compiler/driver/compiler_driver.h:35: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/linker/x86/relative_patcher_x86_base.cc host C++: libart-compiler <= art/compiler/linker/x86_64/relative_patcher_x86_64.cc In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/compiler/compiled_method.h:28, from art/compiler/elf_writer_quick.cc:25: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/compiler/elf_writer_quick.h:20, from art/compiler/elf_writer_quick.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/code_generator_vector_x86.cc In file included from art/runtime/method_reference.h:22, from art/compiler/compiled_method.h:30: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/code_generator.h:31, from art/compiler/optimizing/code_generator_x86.h:22, from art/compiler/optimizing/code_generator_vector_x86.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/instrumentation.h:28, from art/runtime/thread.h:38: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:27, from art/compiler/image_writer.h:30: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28, from art/compiler/optimizing/code_generator_vector_x86.cc:18: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/length_prefixed_array.h:23, from art/compiler/image_writer.h:34: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/compiler/image_writer.h:24: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/class_table.h:25, from art/compiler/image_writer.h:36: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/register_allocator.h:21, from art/compiler/driver/compiler_options.h:28, from art/compiler/elf_writer_quick.cc:28: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/code_generator_vector_x86_64.cc In file included from art/runtime/method_reference.h:22, from art/compiler/linker/relative_patcher.h:26, from art/compiler/oat_writer.h:26: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/compiler/jni/quick/calling_convention.h:23: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/code_generator.h:31, from art/compiler/optimizing/code_generator_x86_64.h:21, from art/compiler/optimizing/code_generator_vector_x86_64.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart-compiler <= art/compiler/optimizing/code_generator_x86.cc In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/compiler/oat_writer.h:22: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28, from art/compiler/optimizing/code_generator_vector_x86_64.cc:18: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/method_reference.h:22, from art/compiler/linker/relative_patcher.h:26, from art/compiler/linker/x86/relative_patcher_x86_base.h:20, from art/compiler/linker/x86/relative_patcher_x86.h:20, from art/compiler/linker/x86/relative_patcher_x86.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/method_reference.h:22, from art/compiler/linker/relative_patcher.h:26, from art/compiler/linker/x86/relative_patcher_x86_base.h:20, from art/compiler/linker/x86/relative_patcher_x86_base.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/compiler/compiled_method.h:28, from art/compiler/linker/x86/relative_patcher_x86.cc:19: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/compiler/linker/relative_patcher.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/code_generator.h:31, from art/compiler/optimizing/code_generator_x86.h:22, from art/compiler/optimizing/code_generator_x86.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart-compiler <= art/compiler/optimizing/code_generator_x86_64.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28, from art/compiler/optimizing/code_generator_x86.cc:27: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart-compiler <= art/compiler/optimizing/intrinsics_x86.cc In file included from art/runtime/gc/space/image_space.h:22, from art/compiler/optimizing/sharpening.cc:29: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/code_generator.h:31, from art/compiler/optimizing/code_generator_x86_64.h:21, from art/compiler/optimizing/code_generator_x86_64.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/method_reference.h:22, from art/compiler/linker/relative_patcher.h:26, from art/compiler/linker/x86/relative_patcher_x86_base.h:20, from art/compiler/linker/x86_64/relative_patcher_x86_64.h:20, from art/compiler/linker/x86_64/relative_patcher_x86_64.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/intrinsics_x86_64.cc art/compiler/elf_writer_quick.cc: In member function 'void art::ElfWriterQuick::ComputeFileBuildId(uint8_t (*)[art::ElfBuilder::kBuildIdLen])': art/compiler/elf_writer_quick.cc:290:12: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 290 | SHA1_Init(&ctx); | ~~~~~~~~~^~~~~~ In file included from art/compiler/elf_writer_quick.cc:19: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/compiler/compiled_method.h:28, from art/compiler/linker/x86_64/relative_patcher_x86_64.cc:19: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/compiler/linker/relative_patcher.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/compiler/elf_writer_quick.cc:298:16: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 298 | SHA1_Update(&ctx, buffer.data(), bytes_read); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28, from art/compiler/optimizing/code_generator_x86_64.cc:27: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart-compiler <= art/compiler/optimizing/pc_relative_fixups_x86.cc In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/compiler/jni/quick/calling_convention.h:23: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/code_generator.h:31, from art/compiler/optimizing/intrinsics.h:20, from art/compiler/optimizing/intrinsics_x86.h:20, from art/compiler/optimizing/intrinsics_x86.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/compiler/elf_writer_quick.cc: In instantiation of 'void art::ElfWriterQuick::ComputeFileBuildId(uint8_t (*)[art::ElfBuilder::kBuildIdLen]) [with ElfTypes = ElfTypes32; uint8_t = unsigned char]': art/compiler/elf_writer_quick.cc:315:16: required from here art/compiler/elf_writer_quick.cc:290:12: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 290 | SHA1_Init(&ctx); | ~~~~~~~~~^~~~~~ /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ art/compiler/elf_writer_quick.cc:290:12: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 290 | SHA1_Init(&ctx); | ~~~~~~~~~^~~~~~ /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ art/compiler/elf_writer_quick.cc:298:16: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 298 | SHA1_Update(&ctx, buffer.data(), bytes_read); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ art/compiler/elf_writer_quick.cc:298:16: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 298 | SHA1_Update(&ctx, buffer.data(), bytes_read); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ art/compiler/elf_writer_quick.cc:301:13: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 301 | SHA1_Final(*build_id, &ctx); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ art/compiler/elf_writer_quick.cc:301:13: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 301 | SHA1_Final(*build_id, &ctx); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/code_generator.h:22: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/arch/instruction_set_features.h:20, from art/runtime/arch/x86/instruction_set_features_x86.h:20, from art/compiler/optimizing/code_generator_x86.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/compiler/elf_writer_quick.cc: In instantiation of 'void art::ElfWriterQuick::ComputeFileBuildId(uint8_t (*)[art::ElfBuilder::kBuildIdLen]) [with ElfTypes = ElfTypes64; uint8_t = unsigned char]': art/compiler/elf_writer_quick.cc:316:16: required from here art/compiler/elf_writer_quick.cc:290:12: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 290 | SHA1_Init(&ctx); | ~~~~~~~~~^~~~~~ /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ art/compiler/elf_writer_quick.cc:290:12: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 290 | SHA1_Init(&ctx); | ~~~~~~~~~^~~~~~ /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/compiler/elf_writer_quick.cc:298:16: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 298 | SHA1_Update(&ctx, buffer.data(), bytes_read); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ art/compiler/elf_writer_quick.cc:298:16: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 298 | SHA1_Update(&ctx, buffer.data(), bytes_read); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ art/compiler/elf_writer_quick.cc:301:13: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 301 | SHA1_Final(*build_id, &ctx); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ art/compiler/elf_writer_quick.cc:301:13: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 301 | SHA1_Final(*build_id, &ctx); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28, from art/compiler/optimizing/intrinsics_x86.cc:29: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/code_generator.h:31, from art/compiler/optimizing/intrinsics.h:20, from art/compiler/optimizing/intrinsics_x86_64.h:20, from art/compiler/optimizing/intrinsics_x86_64.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart-compiler <= art/compiler/optimizing/x86_memory_gen.cc In file included from art/compiler/optimizing/locations.h:24, from art/compiler/optimizing/code_generator.h:29: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/utils/x86/assembler_x86.cc In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/pc_relative_fixups_x86.h:20, from art/compiler/optimizing/pc_relative_fixups_x86.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart-compiler <= art/compiler/utils/x86/jni_macro_assembler_x86.cc In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28, from art/compiler/optimizing/intrinsics_x86_64.cc:29: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/image_writer.h:38: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/image_writer.h:42: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/compiler/utils/x86/assembler_x86.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/x86_memory_gen.h:20, from art/compiler/optimizing/x86_memory_gen.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/utils/x86/jni_macro_assembler_x86.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart-compiler <= art/compiler/utils/x86/managed_register_x86.cc In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/code_generator.h:22: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/arch/instruction_set_features.h:20, from art/runtime/arch/x86/instruction_set_features_x86.h:20, from art/runtime/arch/x86_64/instruction_set_features_x86_64.h:20, from art/compiler/optimizing/code_generator_x86_64.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/instrumentation.h:28, from art/runtime/thread.h:38: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/compiler/optimizing/locations.h:24, from art/compiler/optimizing/code_generator.h:29: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/code_generator.h:22: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/arch/instruction_set_features.h:20, from art/runtime/arch/x86/instruction_set_features_x86.h:20, from art/compiler/optimizing/code_generator_x86.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/locations.h:24, from art/compiler/optimizing/code_generator.h:29: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/code_generator.h:22: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/arch/instruction_set_features.h:20, from art/runtime/arch/x86/instruction_set_features_x86.h:20, from art/runtime/arch/x86_64/instruction_set_features_x86_64.h:20, from art/compiler/optimizing/code_generator_x86_64.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/utils/x86_64/assembler_x86_64.cc In file included from art/compiler/optimizing/locations.h:24, from art/compiler/optimizing/code_generator.h:29: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/code_generator.h:22: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/arch/instruction_set.h:21, from art/compiler/optimizing/code_generator.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from art/compiler/optimizing/nodes.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/locations.h:24, from art/compiler/optimizing/code_generator.h:29: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/code_generator.h:22: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/arch/instruction_set.h:21, from art/compiler/optimizing/code_generator.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/utils/x86_64/jni_macro_assembler_x86_64.cc In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/utils/x86_64/assembler_x86_64.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/locations.h:24, from art/compiler/optimizing/code_generator.h:29: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/compiler/optimizing/nodes.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from art/compiler/optimizing/nodes.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/utils/x86/assembler_x86.h:22, from art/compiler/utils/x86/jni_macro_assembler_x86.h:22, from art/compiler/utils/x86/jni_macro_assembler_x86.cc:17: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/compiler/utils/x86/jni_macro_assembler_x86.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/memory_region.h:25, from art/compiler/optimizing/stack_map_stream.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/utils/x86/assembler_x86.h:22, from art/compiler/utils/x86/assembler_x86.cc:17: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/compiler/utils/x86/assembler_x86.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/utils/x86_64/jni_macro_assembler_x86_64.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/nodes.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart-compiler <= art/compiler/utils/x86_64/managed_register_x86_64.cc In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:30: art/runtime/base/transform_array_ref.h:36:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 36 | using FallbackConstIter = std::iterator; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30, from art/runtime/art_field-inl.h:28: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart-compiler <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/compiled_method_operator_out.cc In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart-compiler <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/dex/dex_to_dex_compiler_operator_out.cc In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/compiler/optimizing/nodes.h:41: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/utils/x86_64/assembler_x86_64.h:22, from art/compiler/utils/x86_64/assembler_x86_64.cc:17: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/compiler/utils/x86_64/assembler_x86_64.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/compiler/optimizing/nodes.h:44: art/compiler/utils/intrusive_forward_list.h:62:50: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 62 | class IntrusiveForwardListIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/handle.h:26, from art/runtime/handle_scope.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/utils/x86_64/assembler_x86_64.h:22, from art/compiler/utils/x86_64/jni_macro_assembler_x86_64.h:22, from art/compiler/utils/x86_64/jni_macro_assembler_x86_64.cc:17: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/compiler/utils/x86_64/jni_macro_assembler_x86_64.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart-compiler <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/driver/compiler_driver_operator_out.cc In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:26: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/compiler/compiled_method.h:28, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/compiled_method_operator_out.cc:3: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from /usr/include/c++/13.2.1/iostream:41, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/compiled_method_operator_out.cc:1: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/compiler/driver/compiler_driver.h:38, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/driver/compiler_driver_operator_out.cc:3: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart-compiler <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/driver/compiler_options_operator_out.cc art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ In file included from art/runtime/base/bit_vector-inl.h:23, from art/compiler/oat_writer.cc:25: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/method_reference.h:22, from art/compiler/compiled_method.h:30: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/compiler/image_writer.cc:29: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ host C++: libart-compiler <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/image_writer_operator_out.cc In file included from art/compiler/dex/dex_to_dex_compiler.h:20, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/dex/dex_to_dex_compiler_operator_out.cc:3: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart-compiler <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/optimizing/locations_operator_out.cc In file included from art/runtime/mirror/class.h:36, from art/compiler/driver/compiler_driver.h:38, from art/compiler/image_writer.h:37, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/image_writer_operator_out.cc:3: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/compiler/driver/compiler_driver.h:164:43: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 164 | bool requires) | ^~~~~~~~ host asm: libart <= art/runtime/interpreter/mterp/out/mterp_x86_64.S art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:182:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 182 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host asm: libart <= art/runtime/arch/x86_64/jni_entrypoints_x86_64.S In file included from art/compiler/optimizing/code_generator_x86.cc:25: art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:182:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 182 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ host asm: libart <= art/runtime/arch/x86_64/memcmp16_x86_64.S host asm: libart <= art/runtime/arch/x86_64/quick_entrypoints_x86_64.S host C++: libart <= art/runtime/aot_class_linker.cc host C++: libart <= art/runtime/art_field.cc art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:182:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 182 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/dexlayout/dexlayout.h:30, from art/compiler/oat_writer.cc:35: art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1207:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1215:12: note: shadowed declaration is here 1215 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1207:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1213:12: note: shadowed declaration is here 1213 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1207:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1211:12: note: shadowed declaration is here 1211 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1207:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1209:15: note: shadowed declaration is here 1209 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1207:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1215:12: note: shadowed declaration is here 1215 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1207:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1213:12: note: shadowed declaration is here 1213 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1207:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1211:12: note: shadowed declaration is here 1211 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1207:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1209:15: note: shadowed declaration is here 1209 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1207:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1215:12: note: shadowed declaration is here 1215 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1207:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1213:12: note: shadowed declaration is here 1213 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1207:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1211:12: note: shadowed declaration is here 1211 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1207:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1207 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1209:15: note: shadowed declaration is here 1209 | std::string name; | ^~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/art_field.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/compiler/optimizing/code_generator_x86_64.cc:24: art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:182:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 182 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/art_method.cc In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/compiler/driver/compiler_driver.h:35: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/aot_class_linker.h:20, from art/runtime/aot_class_linker.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/handle_scope-inl.h:24, from art/runtime/aot_class_linker.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/art_method.cc:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/compiler/image_writer.cc: In member function 'void art::ImageWriter::CopyAndFixupObject(art::mirror::Object*)': art/compiler/image_writer.cc:2218:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 2218 | memcpy(dst, src, n); | ~~~~~~^~~~~~~~~~~~~ art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/compiler/image_writer.cc: In member function 'void art::ImageWriter::CopyAndFixupMethod(art::ArtMethod*, art::ArtMethod*, const ImageInfo&)': art/compiler/image_writer.cc:2588:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class art::ArtMethod' with no trivial copy-assignment [-Wclass-memaccess] 2588 | memcpy(copy, orig, ArtMethod::Size(target_ptr_size_)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/art_method.h:63:7: note: 'class art::ArtMethod' declared here 63 | class ArtMethod FINAL { | ^~~~~~~~~ In file included from art/compiler/optimizing/intrinsics_x86.h:20, from art/compiler/optimizing/pc_relative_fixups_x86.cc:19: art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:182:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 182 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/atomic.cc In file included from art/runtime/jit/jit.h:20, from art/runtime/art_method.cc:34: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/compiler/compiler.h:20, from art/compiler/driver/compiler_driver.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/compiler/driver/compiled_method_storage.h:24, from art/compiler/driver/compiler_driver.h:34: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from /usr/include/c++/13.2.1/iostream:41, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/driver/compiler_driver_operator_out.cc:1: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/register_allocator.h:21, from art/compiler/driver/compiler_options.h:28, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/driver/compiler_options_operator_out.cc:3: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from /usr/include/c++/13.2.1/iostream:41, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/driver/compiler_options_operator_out.cc:1: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/atomic.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/compiler/driver/compiler_driver.h:35: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/barrier.cc In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/compiler/optimizing/locations.h:20, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/optimizing/locations_operator_out.cc:3: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from /usr/include/c++/13.2.1/iostream:41, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/optimizing/locations_operator_out.cc:1: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/barrier.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method.h:27, from art/compiler/image_writer.h:30: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26, from art/runtime/mirror/array-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/compiler/optimizing/locations.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/space/image_space.h:22, from art/compiler/oat_writer.cc:38: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/compiler/image_writer.h:34: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from /usr/include/c++/13.2.1/iostream:41, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/image_writer_operator_out.cc:1: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/class_table.h:25, from art/compiler/image_writer.h:36: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/base/allocator.cc host C++: libart <= art/runtime/base/arena_allocator.cc In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/dex_file_types.h:21, from art/runtime/art_field.h:22, from art/runtime/art_field.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/stl_tree.h:63, from /usr/include/c++/13.2.1/set:62, from art/runtime/class_linker.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/base/arena_allocator.cc:29: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/base/arena_allocator.cc:30: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/art_method.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26, from art/runtime/mirror/array-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26, from art/runtime/mirror/array-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/art_method.h:23: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/base/arena_bit_vector.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:31: art/runtime/gc/space/region_space-inl.h: At global scope: art/runtime/gc/space/region_space-inl.h:188:6: warning: 'always_inline' function might not be inlinable [-Wattributes] 188 | void RegionSpace::WalkInternal(Visitor&& visitor) { | ^~~~~~~~~~~ art/runtime/gc/space/region_space-inl.h:188:6: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/gc/space/region_space-inl.h:188:6: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/gc/space/region_space-inl.h:188:6: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/gc/space/region_space-inl.h:188:6: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/gc/space/region_space-inl.h:188:6: warning: 'always_inline' function might not be inlinable [-Wattributes] In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26, from art/runtime/mirror/array-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26, from art/runtime/mirror/array-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ host C++: libart <= art/runtime/base/bit_vector.cc In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/aot_class_linker.cc:22: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ host C++: libart <= art/runtime/base/file_magic.cc In file included from art/compiler/image_writer.h:38: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/base/hex_dump.cc In file included from art/compiler/image_writer.h:42: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ host C++: libart <= art/runtime/base/logging.cc In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26, from art/runtime/mirror/array-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ host C++: libart <= art/runtime/base/mutex.cc In file included from art/runtime/memory_region.h:25, from art/compiler/optimizing/code_generator.h:30: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/base/safe_copy.cc host C++: libart <= art/runtime/base/scoped_arena_allocator.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/base/logging.cc:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/base/mutex.cc:27: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/base/mutex-inl.h:25, from art/runtime/base/mutex.cc:29: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/class-inl.h:31: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/scoped_thread_state_change-inl.h:24, from art/runtime/base/mutex.cc:30: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/base/scoped_flock.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/base/arena_bit_vector.h:21, from art/runtime/base/arena_bit_vector.cc:17: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/base/arena_allocator.h:25, from art/runtime/base/arena_object.h:20, from art/runtime/base/arena_bit_vector.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/bit_vector.cc:17: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/iterator:61, from art/runtime/base/bit_vector.h:21: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/base/stringpiece.cc In file included from art/runtime/base/logging.h:24, from art/runtime/base/bit_utils.h:23, from art/runtime/base/arena_allocator.h:25, from art/runtime/base/arena_containers.h:27: art/compiler/optimizing/code_generator_x86.cc: In member function 'virtual void art::x86::InstructionCodeGeneratorX86::VisitLoadClass(art::HLoadClass*)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::ReadBarrierOption' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/code_generator_x86.cc:6136:7: note: in expansion of macro 'DCHECK_EQ' 6136 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream<_Ch, _Tr>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/code_generator_x86.cc:6136:7: note: in expansion of macro 'DCHECK_EQ' 6136 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::ReadBarrierOption' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/code_generator_x86.cc:6136:7: note: in expansion of macro 'DCHECK_EQ' 6136 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_Ch, _Tr>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/code_generator_x86.cc:6136:7: note: in expansion of macro 'DCHECK_EQ' 6136 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ In file included from art/runtime/memory_region.h:25, from art/compiler/optimizing/code_generator.h:30: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::ReadBarrierOption' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/code_generator_x86.cc:6143:7: note: in expansion of macro 'DCHECK_EQ' 6143 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream<_Ch, _Tr>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/code_generator_x86.cc:6143:7: note: in expansion of macro 'DCHECK_EQ' 6143 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::ReadBarrierOption' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/code_generator_x86.cc:6143:7: note: in expansion of macro 'DCHECK_EQ' 6143 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_Ch, _Tr>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/code_generator_x86.cc:6143:7: note: in expansion of macro 'DCHECK_EQ' 6143 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ In file included from art/runtime/base/logging.h:24, from art/runtime/base/bit_utils.h:23, from art/runtime/base/arena_allocator.h:25, from art/runtime/base/arena_containers.h:27: art/compiler/optimizing/code_generator_x86_64.cc: In member function 'virtual void art::x86_64::InstructionCodeGeneratorX86_64::VisitLoadClass(art::HLoadClass*)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::ReadBarrierOption' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/code_generator_x86_64.cc:5550:7: note: in expansion of macro 'DCHECK_EQ' 5550 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream<_Ch, _Tr>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/code_generator_x86_64.cc:5550:7: note: in expansion of macro 'DCHECK_EQ' 5550 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::ReadBarrierOption' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/code_generator_x86_64.cc:5550:7: note: in expansion of macro 'DCHECK_EQ' 5550 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_Ch, _Tr>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/code_generator_x86_64.cc:5550:7: note: in expansion of macro 'DCHECK_EQ' 5550 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::ReadBarrierOption' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/code_generator_x86_64.cc:5555:7: note: in expansion of macro 'DCHECK_EQ' 5555 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream<_Ch, _Tr>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/code_generator_x86_64.cc:5555:7: note: in expansion of macro 'DCHECK_EQ' 5555 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::ReadBarrierOption' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/code_generator_x86_64.cc:5555:7: note: in expansion of macro 'DCHECK_EQ' 5555 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_Ch, _Tr>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/compiler/optimizing/code_generator_x86_64.cc:5555:7: note: in expansion of macro 'DCHECK_EQ' 5555 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ host C++: libart <= art/runtime/base/time_utils.cc In file included from art/runtime/memory_region.h:25, from art/compiler/optimizing/code_generator.h:30: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/handle.h:26, from art/runtime/handle_scope.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/base/file_magic.cc:27: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/compiler/optimizing/code_generator_vector_x86.cc: In member function 'virtual void art::x86::LocationsBuilderX86::VisitVecReplicateScalar(art::HVecReplicateScalar*)': art/compiler/optimizing/code_generator_vector_x86.cc:31:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 31 | locations->AddTemp(Location::RequiresFpuRegister()); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/code_generator_vector_x86.cc:33:5: note: here 33 | case Primitive::kPrimBoolean: | ^~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/base/timing_logger.cc art/compiler/optimizing/code_generator_vector_x86.cc: In member function 'virtual void art::x86::InstructionCodeGeneratorX86::VisitVecLoad(art::HVecLoad*)': art/compiler/optimizing/code_generator_vector_x86.cc:912:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 912 | } | ^ art/compiler/optimizing/code_generator_vector_x86.cc:914:5: note: here 914 | case Primitive::kPrimBoolean: | ^~~~ In file included from art/runtime/memory_region.h:25, from art/compiler/optimizing/code_generator.h:30: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/base/unix_file/fd_file.cc host C++: libart <= art/runtime/base/unix_file/random_access_file_utils.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/base/timing_logger.cc:24: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/base/timing_logger.cc:25: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/thread-current-inl.h:20, from art/runtime/base/timing_logger.cc:29: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/cha.cc In file included from art/runtime/memory_region.h:25, from art/compiler/optimizing/code_generator.h:30: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/check_jni.cc host C++: libart <= art/runtime/class_linker.cc host C++: libart <= art/runtime/class_loader_context.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/cha.h:23, from art/runtime/cha.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/class_table.cc In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/check_jni.cc:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:25, from art/runtime/cha.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/code_simulator_container.cc In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/class_loader_context.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/handle.h:26, from art/runtime/handle_scope.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker.cc:34: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/jit/jit.h:20, from art/runtime/cha.cc:20: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_table-inl.h:22, from art/runtime/class_table.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/compiler/optimizing/code_generator_vector_x86_64.cc: In member function 'virtual void art::x86_64::InstructionCodeGeneratorX86_64::VisitVecLoad(art::HVecLoad*)': art/compiler/optimizing/code_generator_vector_x86_64.cc:905:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 905 | } | ^ art/compiler/optimizing/code_generator_vector_x86_64.cc:907:5: note: here 907 | case Primitive::kPrimBoolean: | ^~~~ In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/class_linker.cc:42: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/gc/space/region_space.h:23, from art/runtime/gc/collector/concurrent_copying-inl.h:25, from art/runtime/read_barrier-inl.h:23, from art/runtime/gc_root-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/jit/jit.h:20, from art/runtime/class_linker.cc:72: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/class_table.cc:61: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 61 | #pragma clang diagnostic push | art/runtime/class_table.cc:63: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 63 | #pragma clang diagnostic ignored "-Wunreachable-code" | art/runtime/class_table.cc:91: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 91 | #pragma clang diagnostic pop | art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/memory_region.h:25, from art/compiler/optimizing/code_generator.h:30: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart <= art/runtime/common_throws.cc host C++: libart <= art/runtime/compiler_filter.cc host C++: libart <= art/runtime/debugger.cc host C++: libart <= art/runtime/dex_file.cc In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/common_throws.cc:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/debugger.h:31, from art/runtime/debugger.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/base/unix_file/fd_file.cc: In member function 'bool unix_file::FdFile::Erase(bool)': art/runtime/base/unix_file/fd_file.cc:386:7: warning: variable 'result' set but not used [-Wunused-but-set-variable] 386 | int result; | ^~~~~~ host C++: libart <= art/runtime/dex_file_annotations.cc In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/dex_file.cc:39: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/debugger.h:37: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/interpreter/shadow_frame.h:26, from art/runtime/managed_stack-inl.h:26, from art/runtime/thread-inl.h:26, from art/runtime/scoped_thread_state_change-inl.h:26: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/dex_file_annotations.cc:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/handle.h:26, from art/runtime/handle_scope.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:33: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ host C++: libart <= art/runtime/dex_file_layout.cc In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/handle.h:26, from art/runtime/handle_scope.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/class_table.h:25, from art/runtime/class_table-inl.h:20: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/class_table.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/enums.h:21, from art/runtime/cha.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/handle.h:26, from art/runtime/handle_scope.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/compiler/optimizing/code_generator_x86.cc: In member function 'virtual void art::x86::LocationsBuilderX86::VisitRor(art::HRor*)': art/compiler/optimizing/code_generator_x86.cc:4100:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 4100 | locations->AddTemp(Location::RequiresRegister()); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/code_generator_x86.cc:4102:5: note: here 4102 | case Primitive::kPrimInt: | ^~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/dex_file_tracking_registrar.cc In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/class_loader_context.h:20, from art/runtime/class_loader_context.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/stl_tree.h:63, from /usr/include/c++/13.2.1/set:62, from art/runtime/class_linker.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/iomanip:42, from art/runtime/check_jni.cc:19: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/dex_file_verifier.cc In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/compiler/optimizing/code_generator_x86_64.cc: In member function 'virtual void art::x86_64::InstructionCodeGeneratorX86_64::VisitTypeConversion(art::HTypeConversion*)': libbase/include/android-base/logging.h:329:3: warning: statement will never be executed [-Wswitch-unreachable] 329 | if (::android::base::kEnableDChecks) CHECK(x) | ^~ art/compiler/optimizing/code_generator_x86_64.cc:2853:9: note: in expansion of macro 'DCHECK' 2853 | DCHECK(out.IsRegister()); | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/dex_file.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/handle.h:26, from art/runtime/handle_scope.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ host C++: libart <= art/runtime/dex_instruction.cc In file included from art/runtime/stack_map.h:23, from art/runtime/oat_quick_method_header.h:24, from art/runtime/cha.h:24: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/dex_file_verifier.h:23, from art/runtime/dex_file.cc:42: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/dex_file.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/dex_file_annotations.h:20, from art/runtime/dex_file_annotations.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/common_throws.h:20, from art/runtime/common_throws.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/stack_map.h:23, from art/runtime/oat_quick_method_header.h:24, from art/runtime/oat_file-inl.h:21, from art/runtime/art_method.cc:44: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/dex_to_dex_decompiler.cc In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/stl_tree.h:63, from /usr/include/c++/13.2.1/set:62, from art/runtime/debugger.h:26: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/elf_file.cc In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/dex_file.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/dex_file_layout.cc:21: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/elf_utils.h:20, from art/runtime/elf_file.cc:32: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/exec_utils.cc host C++: libart <= art/runtime/fault_handler.cc host C++: libart <= art/runtime/gc/allocation_record.cc In file included from art/runtime/dex_file_tracking_registrar.h:23, from art/runtime/dex_file_tracking_registrar.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/fault_handler.cc:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/dex_file_verifier.h:23, from art/runtime/dex_file_verifier.cc:17: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_set.h:33, from /usr/include/c++/13.2.1/unordered_set:41, from art/runtime/dex_file_verifier.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/gc/allocation_record.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/gc/allocator/dlmalloc.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:23, from art/runtime/mirror/reference.h:23, from art/runtime/read_barrier-inl.h:27: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/gc/allocator/rosalloc.cc In file included from art/runtime/gc/allocator/dlmalloc.cc:39: art/runtime/generated/../../../bionic/libc/upstream-dlmalloc/malloc.c:592:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 592 | #if USE_LOCKS /* Spin locks for gcc >= 4.1, older gcc on x86, MSC >= 1310 */ | ^~~~~~~~~ art/runtime/generated/../../../bionic/libc/upstream-dlmalloc/malloc.c:592:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] art/runtime/generated/../../../bionic/libc/upstream-dlmalloc/malloc.c:1494:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 1494 | #if USE_LOCKS | ^~~~~~~~~ art/runtime/generated/../../../bionic/libc/upstream-dlmalloc/malloc.c:1494:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from art/runtime/dex_file_verifier.h:24: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/generated/../../../bionic/libc/upstream-dlmalloc/malloc.c:1804:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 1804 | #if !USE_LOCKS | ^~~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/generated/../../../bionic/libc/upstream-dlmalloc/malloc.c:1804:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] art/runtime/generated/../../../bionic/libc/upstream-dlmalloc/malloc.c:2596:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 2596 | #if USE_LOCKS | ^~~~~~~~~ art/runtime/generated/../../../bionic/libc/upstream-dlmalloc/malloc.c:2596:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] art/runtime/generated/../../../bionic/libc/upstream-dlmalloc/malloc.c:2646:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 2646 | #if USE_LOCKS | ^~~~~~~~~ art/runtime/generated/../../../bionic/libc/upstream-dlmalloc/malloc.c:2646:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] art/runtime/generated/../../../bionic/libc/upstream-dlmalloc/malloc.c:2742:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 2742 | #if USE_LOCKS | ^~~~~~~~~ art/runtime/generated/../../../bionic/libc/upstream-dlmalloc/malloc.c:2742:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] host C++: libart <= art/runtime/gc/accounting/bitmap.cc In file included from art/runtime/gc/allocator/rosalloc.h:34, from art/runtime/gc/allocator/rosalloc.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31, from art/runtime/gc/allocator/rosalloc.cc:30: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/gc/accounting/card_table.cc In file included from art/runtime/jit/jit_code_cache.h:24, from art/runtime/gc/accounting/bitmap.cc:23: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class_loader.h:21, from art/runtime/class_loader_context.h:26: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/oat_file.h:31, from art/runtime/jit/jit_code_cache.h:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/gc/accounting/card_table.cc:22: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/dex_to_dex_decompiler.h:21, from art/runtime/dex_to_dex_decompiler.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/dex_file_verifier.cc: In member function 'art::dex::TypeIndex art::DexFileVerifier::FindFirstClassDataDefiner(const uint8_t*, bool*)': art/runtime/dex_file_verifier.cc:221:27: warning: unnecessary parentheses in declaration of 'field' [-Wparentheses] 221 | const DexFile::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/runtime/dex_file_verifier.cc:1960:5: note: in expansion of macro 'LOAD_FIELD' 1960 | LOAD_FIELD(field, it.GetMemberIndex(), "first_class_data_definer field_id", | ^~~~~~~~~~ art/runtime/dex_file_verifier.cc:221:27: note: remove parentheses 221 | const DexFile::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/runtime/dex_file_verifier.cc:1960:5: note: in expansion of macro 'LOAD_FIELD' 1960 | LOAD_FIELD(field, it.GetMemberIndex(), "first_class_data_definer field_id", | ^~~~~~~~~~ art/runtime/dex_file_verifier.cc:214:28: warning: unnecessary parentheses in declaration of 'method' [-Wparentheses] 214 | const DexFile::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/runtime/dex_file_verifier.cc:1966:5: note: in expansion of macro 'LOAD_METHOD' 1966 | LOAD_METHOD(method, it.GetMemberIndex(), "first_class_data_definer method_id", | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc:214:28: note: remove parentheses 214 | const DexFile::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/runtime/dex_file_verifier.cc:1966:5: note: in expansion of macro 'LOAD_METHOD' 1966 | LOAD_METHOD(method, it.GetMemberIndex(), "first_class_data_definer method_id", | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc: In member function 'art::dex::TypeIndex art::DexFileVerifier::FindFirstAnnotationsDirectoryDefiner(const uint8_t*, bool*)': art/runtime/dex_file_verifier.cc:221:27: warning: unnecessary parentheses in declaration of 'field' [-Wparentheses] 221 | const DexFile::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/runtime/dex_file_verifier.cc:1982:5: note: in expansion of macro 'LOAD_FIELD' 1982 | LOAD_FIELD(field, field_items[0].field_idx_, "first_annotations_dir_definer field_id", | ^~~~~~~~~~ art/runtime/dex_file_verifier.cc:221:27: note: remove parentheses 221 | const DexFile::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/runtime/dex_file_verifier.cc:1982:5: note: in expansion of macro 'LOAD_FIELD' 1982 | LOAD_FIELD(field, field_items[0].field_idx_, "first_annotations_dir_definer field_id", | ^~~~~~~~~~ art/runtime/dex_file_verifier.cc:214:28: warning: unnecessary parentheses in declaration of 'method' [-Wparentheses] 214 | const DexFile::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/runtime/dex_file_verifier.cc:1989:5: note: in expansion of macro 'LOAD_METHOD' 1989 | LOAD_METHOD(method, method_items[0].method_idx_, "first_annotations_dir_definer method id", | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc:214:28: note: remove parentheses 214 | const DexFile::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/runtime/dex_file_verifier.cc:1989:5: note: in expansion of macro 'LOAD_METHOD' 1989 | LOAD_METHOD(method, method_items[0].method_idx_, "first_annotations_dir_definer method id", | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc:214:28: warning: unnecessary parentheses in declaration of 'method' [-Wparentheses] 214 | const DexFile::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/runtime/dex_file_verifier.cc:1996:5: note: in expansion of macro 'LOAD_METHOD' 1996 | LOAD_METHOD(method, parameter_items[0].method_idx_, "first_annotations_dir_definer method id", | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc:214:28: note: remove parentheses 214 | const DexFile::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/runtime/dex_file_verifier.cc:1996:5: note: in expansion of macro 'LOAD_METHOD' 1996 | LOAD_METHOD(method, parameter_items[0].method_idx_, "first_annotations_dir_definer method id", | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc: In member function 'bool art::DexFileVerifier::CheckInterTypeIdItem()': art/runtime/dex_file_verifier.cc:200:15: warning: unnecessary parentheses in declaration of 'descriptor' [-Wparentheses] 200 | const char* (var) = CheckLoadStringByIdx(idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2030:3: note: in expansion of macro 'LOAD_STRING' 2030 | LOAD_STRING(descriptor, item->descriptor_idx_, "inter_type_id_item descriptor_idx") | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc:200:15: note: remove parentheses 200 | const char* (var) = CheckLoadStringByIdx(idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2030:3: note: in expansion of macro 'LOAD_STRING' 2030 | LOAD_STRING(descriptor, item->descriptor_idx_, "inter_type_id_item descriptor_idx") | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc: In member function 'bool art::DexFileVerifier::CheckInterProtoIdItem()': art/runtime/dex_file_verifier.cc:200:15: warning: unnecessary parentheses in declaration of 'shorty' [-Wparentheses] 200 | const char* (var) = CheckLoadStringByIdx(idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2056:3: note: in expansion of macro 'LOAD_STRING' 2056 | LOAD_STRING(shorty, item->shorty_idx_, "inter_proto_id_item shorty_idx") | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc:200:15: note: remove parentheses 200 | const char* (var) = CheckLoadStringByIdx(idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2056:3: note: in expansion of macro 'LOAD_STRING' 2056 | LOAD_STRING(shorty, item->shorty_idx_, "inter_proto_id_item shorty_idx") | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc:207:15: warning: unnecessary parentheses in declaration of 'return_type' [-Wparentheses] 207 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2070:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2070 | LOAD_STRING_BY_TYPE(return_type, item->return_type_idx_, "inter_proto_id_item return_type_idx") | ^~~~~~~~~~~~~~~~~~~ art/runtime/dex_file_verifier.cc:207:15: note: remove parentheses 207 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2070:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2070 | LOAD_STRING_BY_TYPE(return_type, item->return_type_idx_, "inter_proto_id_item return_type_idx") | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/class_table.cc:20: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/dex_file-inl.h:23, from art/runtime/dex_instruction.cc:26: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file_verifier.cc: In member function 'bool art::DexFileVerifier::CheckInterFieldIdItem()': art/runtime/dex_file_verifier.cc:207:15: warning: unnecessary parentheses in declaration of 'class_descriptor' [-Wparentheses] 207 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2138:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2138 | LOAD_STRING_BY_TYPE(class_descriptor, item->class_idx_, "inter_field_id_item class_idx") | ^~~~~~~~~~~~~~~~~~~ art/runtime/dex_file_verifier.cc:207:15: note: remove parentheses 207 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2138:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2138 | LOAD_STRING_BY_TYPE(class_descriptor, item->class_idx_, "inter_field_id_item class_idx") | ^~~~~~~~~~~~~~~~~~~ art/runtime/dex_file_verifier.cc:207:15: warning: unnecessary parentheses in declaration of 'type_descriptor' [-Wparentheses] 207 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2145:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2145 | LOAD_STRING_BY_TYPE(type_descriptor, item->type_idx_, "inter_field_id_item type_idx") | ^~~~~~~~~~~~~~~~~~~ art/runtime/dex_file_verifier.cc:207:15: note: remove parentheses 207 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2145:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2145 | LOAD_STRING_BY_TYPE(type_descriptor, item->type_idx_, "inter_field_id_item type_idx") | ^~~~~~~~~~~~~~~~~~~ art/runtime/dex_file_verifier.cc:200:15: warning: unnecessary parentheses in declaration of 'descriptor' [-Wparentheses] 200 | const char* (var) = CheckLoadStringByIdx(idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2152:3: note: in expansion of macro 'LOAD_STRING' 2152 | LOAD_STRING(descriptor, item->name_idx_, "inter_field_id_item name_idx") | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc:200:15: note: remove parentheses 200 | const char* (var) = CheckLoadStringByIdx(idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2152:3: note: in expansion of macro 'LOAD_STRING' 2152 | LOAD_STRING(descriptor, item->name_idx_, "inter_field_id_item name_idx") | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc: In member function 'bool art::DexFileVerifier::CheckInterMethodIdItem()': art/runtime/dex_file_verifier.cc:207:15: warning: unnecessary parentheses in declaration of 'class_descriptor' [-Wparentheses] 207 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2185:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2185 | LOAD_STRING_BY_TYPE(class_descriptor, item->class_idx_, "inter_method_id_item class_idx") | ^~~~~~~~~~~~~~~~~~~ art/runtime/dex_file_verifier.cc:207:15: note: remove parentheses 207 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2185:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2185 | LOAD_STRING_BY_TYPE(class_descriptor, item->class_idx_, "inter_method_id_item class_idx") | ^~~~~~~~~~~~~~~~~~~ art/runtime/dex_file_verifier.cc:200:15: warning: unnecessary parentheses in declaration of 'descriptor' [-Wparentheses] 200 | const char* (var) = CheckLoadStringByIdx(idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2193:3: note: in expansion of macro 'LOAD_STRING' 2193 | LOAD_STRING(descriptor, item->name_idx_, "inter_method_id_item name_idx") | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc:200:15: note: remove parentheses 200 | const char* (var) = CheckLoadStringByIdx(idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2193:3: note: in expansion of macro 'LOAD_STRING' 2193 | LOAD_STRING(descriptor, item->name_idx_, "inter_method_id_item name_idx") | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc: In member function 'bool art::DexFileVerifier::CheckInterClassDefItem()': art/runtime/dex_file_verifier.cc:207:15: warning: unnecessary parentheses in declaration of 'class_descriptor' [-Wparentheses] 207 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2250:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2250 | LOAD_STRING_BY_TYPE(class_descriptor, item->class_idx_, "inter_class_def_item class_idx") | ^~~~~~~~~~~~~~~~~~~ art/runtime/dex_file_verifier.cc:207:15: note: remove parentheses 207 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2250:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2250 | LOAD_STRING_BY_TYPE(class_descriptor, item->class_idx_, "inter_class_def_item class_idx") | ^~~~~~~~~~~~~~~~~~~ art/runtime/dex_file_verifier.cc:207:15: warning: unnecessary parentheses in declaration of 'superclass_descriptor' [-Wparentheses] 207 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2306:5: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2306 | LOAD_STRING_BY_TYPE(superclass_descriptor, item->superclass_idx_, | ^~~~~~~~~~~~~~~~~~~ art/runtime/dex_file_verifier.cc:207:15: note: remove parentheses 207 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2306:5: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2306 | LOAD_STRING_BY_TYPE(superclass_descriptor, item->superclass_idx_, | ^~~~~~~~~~~~~~~~~~~ art/runtime/dex_file_verifier.cc:207:15: warning: unnecessary parentheses in declaration of 'inf_descriptor' [-Wparentheses] 207 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2347:7: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2347 | LOAD_STRING_BY_TYPE(inf_descriptor, interfaces->GetTypeItem(i).type_idx_, | ^~~~~~~~~~~~~~~~~~~ art/runtime/dex_file_verifier.cc:207:15: note: remove parentheses 207 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2347:7: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2347 | LOAD_STRING_BY_TYPE(inf_descriptor, interfaces->GetTypeItem(i).type_idx_, | ^~~~~~~~~~~~~~~~~~~ art/runtime/dex_file_verifier.cc: In member function 'bool art::DexFileVerifier::CheckInterMethodHandleItem()': art/runtime/dex_file_verifier.cc:221:27: warning: unnecessary parentheses in declaration of 'field' [-Wparentheses] 221 | const DexFile::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2481:7: note: in expansion of macro 'LOAD_FIELD' 2481 | LOAD_FIELD(field, index, "method_handle_item field_idx", return false); | ^~~~~~~~~~ art/runtime/dex_file_verifier.cc:221:27: note: remove parentheses 221 | const DexFile::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2481:7: note: in expansion of macro 'LOAD_FIELD' 2481 | LOAD_FIELD(field, index, "method_handle_item field_idx", return false); | ^~~~~~~~~~ art/runtime/dex_file_verifier.cc:214:28: warning: unnecessary parentheses in declaration of 'method' [-Wparentheses] 214 | const DexFile::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2489:7: note: in expansion of macro 'LOAD_METHOD' 2489 | LOAD_METHOD(method, index, "method_handle_item method_idx", return false); | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc:214:28: note: remove parentheses 214 | const DexFile::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2489:7: note: in expansion of macro 'LOAD_METHOD' 2489 | LOAD_METHOD(method, index, "method_handle_item method_idx", return false); | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc: In member function 'bool art::DexFileVerifier::CheckInterClassDataItem()': art/runtime/dex_file_verifier.cc:221:27: warning: unnecessary parentheses in declaration of 'field' [-Wparentheses] 221 | const DexFile::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2555:5: note: in expansion of macro 'LOAD_FIELD' 2555 | LOAD_FIELD(field, it.GetMemberIndex(), "inter_class_data_item field_id", return false) | ^~~~~~~~~~ art/runtime/dex_file_verifier.cc:221:27: note: remove parentheses 221 | const DexFile::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2555:5: note: in expansion of macro 'LOAD_FIELD' 2555 | LOAD_FIELD(field, it.GetMemberIndex(), "inter_class_data_item field_id", return false) | ^~~~~~~~~~ art/runtime/dex_file_verifier.cc:214:28: warning: unnecessary parentheses in declaration of 'method' [-Wparentheses] 214 | const DexFile::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2566:5: note: in expansion of macro 'LOAD_METHOD' 2566 | LOAD_METHOD(method, it.GetMemberIndex(), "inter_class_data_item method_id", return false) | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc:214:28: note: remove parentheses 214 | const DexFile::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2566:5: note: in expansion of macro 'LOAD_METHOD' 2566 | LOAD_METHOD(method, it.GetMemberIndex(), "inter_class_data_item method_id", return false) | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc: In member function 'bool art::DexFileVerifier::CheckInterAnnotationsDirectoryItem()': art/runtime/dex_file_verifier.cc:221:27: warning: unnecessary parentheses in declaration of 'field' [-Wparentheses] 221 | const DexFile::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2596:5: note: in expansion of macro 'LOAD_FIELD' 2596 | LOAD_FIELD(field, field_item->field_idx_, "inter_annotations_directory_item field_id", | ^~~~~~~~~~ art/runtime/dex_file_verifier.cc:221:27: note: remove parentheses 221 | const DexFile::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2596:5: note: in expansion of macro 'LOAD_FIELD' 2596 | LOAD_FIELD(field, field_item->field_idx_, "inter_annotations_directory_item field_id", | ^~~~~~~~~~ art/runtime/dex_file_verifier.cc:214:28: warning: unnecessary parentheses in declaration of 'method' [-Wparentheses] 214 | const DexFile::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2613:5: note: in expansion of macro 'LOAD_METHOD' 2613 | LOAD_METHOD(method, method_item->method_idx_, "inter_annotations_directory_item method_id", | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc:214:28: note: remove parentheses 214 | const DexFile::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2613:5: note: in expansion of macro 'LOAD_METHOD' 2613 | LOAD_METHOD(method, method_item->method_idx_, "inter_annotations_directory_item method_id", | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc:214:28: warning: unnecessary parentheses in declaration of 'parameter_method' [-Wparentheses] 214 | const DexFile::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2630:5: note: in expansion of macro 'LOAD_METHOD' 2630 | LOAD_METHOD(parameter_method, parameter_item->method_idx_, | ^~~~~~~~~~~ art/runtime/dex_file_verifier.cc:214:28: note: remove parentheses 214 | const DexFile::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/runtime/dex_file_verifier.cc:2630:5: note: in expansion of macro 'LOAD_METHOD' 2630 | LOAD_METHOD(parameter_method, parameter_item->method_idx_, | ^~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/class-inl.h:31: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object-readbarrier-inl.h:20, from art/runtime/gc/collector/concurrent_copying-inl.h:27: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/gc/accounting/heap_bitmap.cc In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/dex_file_verifier.cc: In member function 'bool art::DexFileVerifier::CheckShortyDescriptorMatch(char, const char*, bool)': art/runtime/dex_file_verifier.cc:245:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 245 | if (UNLIKELY(!is_return_type)) { | ^~ art/runtime/dex_file_verifier.cc:250:5: note: here 250 | case 'B': | ^~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28, from art/runtime/debugger.cc:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart <= art/runtime/gc/accounting/mod_union_table.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/array.h:24, from art/runtime/mirror/object_array.h:20, from art/runtime/dex_file_annotations.h:22: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/dex_instruction.cc: In member function 'std::string art::Instruction::DumpString(const art::DexFile*) const': art/runtime/dex_instruction.cc:198:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 198 | } | ^ art/runtime/dex_instruction.cc:200:9: note: here 200 | case CHECK_CAST: | ^~~~ art/runtime/dex_instruction.cc:208:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 208 | } | ^ art/runtime/dex_instruction.cc:210:9: note: here 210 | case SGET: | ^~~~ art/runtime/dex_instruction.cc:222:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 222 | } | ^ art/runtime/dex_instruction.cc:224:9: note: here 224 | case SPUT: | ^~~~ art/runtime/dex_instruction.cc:236:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 236 | } | ^ art/runtime/dex_instruction.cc:238:9: note: here 238 | default: | ^~~~~~~ art/runtime/dex_instruction.cc:262:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 262 | } | ^ art/runtime/dex_instruction.cc:264:9: note: here 264 | case IGET_QUICK: | ^~~~ art/runtime/dex_instruction.cc:271:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 271 | } | ^ art/runtime/dex_instruction.cc:273:9: note: here 273 | case IPUT: | ^~~~ art/runtime/dex_instruction.cc:285:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 285 | } | ^ art/runtime/dex_instruction.cc:287:9: note: here 287 | case IPUT_QUICK: | ^~~~ art/runtime/dex_instruction.cc:294:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 294 | } | ^ art/runtime/dex_instruction.cc:296:9: note: here 296 | case INSTANCE_OF: | ^~~~ art/runtime/dex_instruction.cc:303:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 303 | } | ^ art/runtime/dex_instruction.cc:305:9: note: here 305 | case NEW_ARRAY: | ^~~~ art/runtime/dex_instruction.cc:312:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 312 | } | ^ art/runtime/dex_instruction.cc:314:9: note: here 314 | default: | ^~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/dex_instruction.cc:383:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 383 | } | ^ art/runtime/dex_instruction.cc:385:9: note: here 385 | case INVOKE_VIRTUAL_QUICK: | ^~~~ art/runtime/dex_instruction.cc:397:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 397 | } | ^ art/runtime/dex_instruction.cc:399:9: note: here 399 | case INVOKE_CUSTOM: | ^~~~ art/runtime/dex_instruction.cc:411:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 411 | } | ^ art/runtime/dex_instruction.cc:413:9: note: here 413 | default: | ^~~~~~~ art/runtime/dex_instruction.cc:434:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 434 | } | ^ art/runtime/dex_instruction.cc:436:9: note: here 436 | case INVOKE_VIRTUAL_RANGE_QUICK: | ^~~~ art/runtime/dex_instruction.cc:442:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 442 | } | ^ art/runtime/dex_instruction.cc:444:9: note: here 444 | case INVOKE_CUSTOM_RANGE: | ^~~~ art/runtime/dex_instruction.cc:450:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 450 | } | ^ art/runtime/dex_instruction.cc:452:9: note: here 452 | default: | ^~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/dex_instruction.cc:492:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 492 | } | ^ art/runtime/dex_instruction.cc:494:9: note: here 494 | default: { | ^~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:25, from art/runtime/gc/accounting/mod_union_table.cc:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/dex_instruction.cc:17: art/runtime/dex_instruction-inl.h: In member function 'void art::Instruction::GetVarArgs(uint32_t*, uint16_t) const': art/runtime/dex_instruction-inl.h:537:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 537 | arg[4] = InstA(inst_data); | ~~~~~~~^~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:539:5: note: here 539 | case 4: | ^~~~ art/runtime/dex_instruction-inl.h:540:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 540 | arg[3] = (regList >> 12) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:542:5: note: here 542 | case 3: | ^~~~ art/runtime/dex_instruction-inl.h:543:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 543 | arg[2] = (regList >> 8) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:545:5: note: here 545 | case 2: | ^~~~ art/runtime/dex_instruction-inl.h:546:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 546 | arg[1] = (regList >> 4) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:548:5: note: here 548 | case 1: | ^~~~ host C++: libart <= art/runtime/gc/accounting/remembered_set.cc In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/runtime/fault_handler.h:22, from art/runtime/fault_handler.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/list:62, from art/runtime/gc/allocation_record.h:20, from art/runtime/gc/allocation_record.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/class-inl.h:20, from art/runtime/gc/collector/mark_sweep-inl.h:23, from art/runtime/gc/accounting/remembered_set.cc:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/jit_code_cache.h:23: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/gc/accounting/bitmap.h:22, from art/runtime/gc/accounting/bitmap-inl.h:20, from art/runtime/gc/accounting/bitmap.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/gc/accounting/space_bitmap.cc host C++: libart <= art/runtime/gc/collector/concurrent_copying.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/gc/accounting/space_bitmap.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method-inl.h:32, from art/runtime/class_linker.cc:35: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/class_linker.h:33: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/gc/collector/concurrent_copying.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:26: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/gc/collector/concurrent_copying.cc:21: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/gc/collector/concurrent_copying.cc:23: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/base/scoped_arena_containers.h:27, from art/runtime/class_linker.cc:39: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/method_reference.h:22, from art/runtime/jit/jit_code_cache.h:30: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/art_method-inl.h:32, from art/runtime/check_jni.cc:26: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/runtime/method_bss_mapping.h:21, from art/runtime/oat_file.h:30: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/class_loader_context.cc: In static member function 'static const char* art::ClassLoaderContext::GetClassLoaderTypeName(ClassLoaderType)': art/runtime/class_loader_context.cc:430:53: warning: passing 'art::ClassLoaderContext::ClassLoaderType' chooses 'int' over 'unsigned int' [-Wsign-promo] 430 | LOG(FATAL) << "Invalid class loader type " << type; | ^~~~ art/runtime/class_loader_context.cc:430:53: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] art/runtime/class_loader_context.cc: In static member function 'static _jclass* art::ClassLoaderContext::GetClassLoaderClass(ClassLoaderType)': art/runtime/class_loader_context.cc:767:49: warning: passing 'art::ClassLoaderContext::ClassLoaderType' chooses 'int' over 'unsigned int' [-Wsign-promo] 767 | LOG(FATAL) << "Invalid class loader type " << type; | ^~~~ art/runtime/class_loader_context.cc:767:49: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] host C++: libart <= art/runtime/gc/collector/garbage_collector.cc In file included from art/runtime/stack_map.h:23, from art/runtime/oat_quick_method_header.h:24, from art/runtime/cha.h:24, from art/runtime/class_linker.cc:46: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:23, from art/runtime/mirror/class-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/gc/allocator/rosalloc.h:23: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/class_loader_context.h:25: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/gc/collector/immune_region.cc In file included from art/runtime/gc/collector/garbage_collector.cc:24: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/base/mutex-inl.h:25, from art/runtime/gc/collector/garbage_collector.cc:26: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/gc/collector/garbage_collector.cc:27: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/collector/garbage_collector.cc:35: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method-inl.h:32, from art/runtime/common_throws.cc:24: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ host C++: libart <= art/runtime/gc/collector/immune_spaces.cc In file included from art/runtime/art_method-inl.h:32, from art/runtime/debugger.cc:29: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/debugger.h:30: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/class_table.h:28: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] In file included from art/runtime/art_method-inl.h:32, from art/runtime/dex_file_annotations.cc:24: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/array.h:21: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/class_linker.cc:62: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/oat_file.h:31, from art/runtime/gc/collector/immune_spaces.cc:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/gc/space/space-inl.h:24, from art/runtime/debugger.cc:44: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/gc/accounting/mod_union_table.cc:26: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/cha.h:22: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/base/scoped_arena_containers.h:27, from art/runtime/verifier/method_verifier.h:26, from art/runtime/common_throws.cc:37: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/gc/collector/mark_compact.cc In file included from art/runtime/art_method.h:27, from art/runtime/mirror/object-inl.h:23: art/runtime/dex_file.h: At global scope: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/gc/accounting/bitmap.h:22, from art/runtime/gc/accounting/mod_union_table.h:20, from art/runtime/gc/accounting/mod_union_table.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/gc/collector/mark_sweep.cc In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/check_jni.cc: In static member function 'static const uint8_t* art::ScopedCheck::CheckUtfBytes(const char*, const char**)': art/runtime/check_jni.cc:1309:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1309 | if ((*utf8 & 0x08) == 0) { | ^~ art/runtime/check_jni.cc:1324:7: note: here 1324 | case 0x0e: | ^~~~ art/runtime/check_jni.cc:1327:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1327 | if ((*utf8 & 0xc0) != 0x80) { | ^~ art/runtime/check_jni.cc:1334:7: note: here 1334 | case 0x0c: | ^~~~ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/gc/accounting/space_bitmap.h:22, from art/runtime/gc/accounting/space_bitmap-inl.h:20, from art/runtime/gc/accounting/space_bitmap.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/mutex-inl.h:25, from art/runtime/gc/collector/mark_compact.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/runtime/atomic.h:23, from art/runtime/base/allocator.h:20, from art/runtime/gc/accounting/remembered_set.h:20, from art/runtime/gc/accounting/remembered_set.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31, from art/runtime/gc/collector/mark_compact.cc:30: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/mutex-inl.h:25, from art/runtime/gc/collector/mark_sweep.cc:29: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/gc/collector/mark_sweep.cc:30: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31, from art/runtime/gc/collector/mark_sweep-inl.h:23, from art/runtime/gc/collector/mark_sweep.cc:41: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/barrier.h:30, from art/runtime/gc/collector/concurrent_copying.h:20, from art/runtime/gc/collector/concurrent_copying.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/gc/space/space-inl.h:24, from art/runtime/gc/collector/immune_region.cc:19: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ host C++: libart <= art/runtime/gc/collector/partial_mark_sweep.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/image.h:24: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/collector/partial_mark_sweep.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/class_linker.cc: In member function 'bool art::ClassLinker::AddImageSpace(art::gc::space::ImageSpace*, art::Handle, jobjectArray, const char*, std::vector >*, std::string*)': art/runtime/class_linker.cc:1790:96: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'art::PointerSize' [-Wformat=] 1790 | *error_msg = StringPrintf("Application image pointer size does not match runtime: %zu vs %zu", | ~~^ | | | long unsigned int 1791 | static_cast(space->GetImageHeader().GetPointerSize()), 1792 | image_pointer_size_); | ~~~~~~~~~~~~~~~~~~~ | | | art::PointerSize In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/gc/collector/semi_space.cc In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/common_throws.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/gc/space/space-inl.h:24, from art/runtime/gc/collector/immune_spaces.cc:22: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_throws.cc: In function 'bool art::IsValidImplicitCheck(uintptr_t, ArtMethod*, const Instruction&)': art/runtime/common_throws.cc:467:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 467 | if (kEmitCompilerReadBarrier && IsValidReadBarrierImplicitCheck(addr)) { | ^~ art/runtime/common_throws.cc:471:5: note: here 471 | case Instruction::IGET: | ^~~~ art/runtime/common_throws.cc:490:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 490 | if (kEmitCompilerReadBarrier && IsValidReadBarrierImplicitCheck(addr)) { | ^~ art/runtime/common_throws.cc:494:5: note: here 494 | case Instruction::IGET_QUICK: | ^~~~ art/runtime/common_throws.cc:511:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 511 | if (kEmitCompilerReadBarrier && IsValidReadBarrierImplicitCheck(addr)) { | ^~ art/runtime/common_throws.cc:515:5: note: here 515 | case Instruction::AGET: | ^~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:25, from art/runtime/gc/collector/semi_space-inl.h:23, from art/runtime/gc/collector/semi_space.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/gc/collector/sticky_mark_sweep.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/oat_file.h:28: art/runtime/dex_file.h: At global scope: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/runtime/method_bss_mapping.h:21, from art/runtime/oat_file.h:30: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/gc/collector/immune_spaces.h:21, from art/runtime/gc/collector/immune_spaces.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/collector/sticky_mark_sweep.cc:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/allocation_record.h:25: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack_map.h:23, from art/runtime/oat_quick_method_header.h:24, from art/runtime/fault_handler.cc:28: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/gc/space/space-inl.h:24, from art/runtime/gc/collector/garbage_collector.cc:33: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/gc/gc_cause.cc host C++: libart <= art/runtime/gc/heap.cc In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/gc/allocator/rosalloc.cc: In member function 'void* art::gc::allocator::RosAlloc::AllocPages(art::Thread*, size_t, uint8_t)': art/runtime/gc/allocator/rosalloc.cc:290:13: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::gc::allocator::RosAlloc::FreePageRun' with no trivial copy-assignment [-Wclass-memaccess] 290 | memset(res, 0, kPageSize); | ~~~~~~^~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/rosalloc.h:47:9: note: 'class art::gc::allocator::RosAlloc::FreePageRun' declared here 47 | class FreePageRun { | ^~~~~~~~~~~ host C++: libart <= art/runtime/gc/reference_processor.cc In file included from art/runtime/gc/heap-inl.h:31: art/runtime/gc/space/region_space-inl.h: At global scope: art/runtime/gc/space/region_space-inl.h:188:6: warning: 'always_inline' function might not be inlinable [-Wattributes] 188 | void RegionSpace::WalkInternal(Visitor&& visitor) { | ^~~~~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/gc/heap.cc:26: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/gc/heap.cc:31: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | art/runtime/class_linker.cc: In member function 'void art::ClassLinker::LinkInterfaceMethodsHelper::ClobberOldMethods(art::LengthPrefixedArray*, art::LengthPrefixedArray*)': art/runtime/class_linker.cc:6941:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class art::LengthPrefixedArray'; use assignment instead [-Wclass-memaccess] 6941 | memset(old_methods, 0xFEu, old_size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:25, from art/runtime/mirror/object-inl.h:26, from art/runtime/art_field-inl.h:29: art/runtime/base/length_prefixed_array.h:31:7: note: 'class art::LengthPrefixedArray' declared here 31 | class LengthPrefixedArray { | ^~~~~~~~~~~~~~~~~~~ In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/gc/heap.cc:34: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/class-inl.h:20, from art/runtime/gc/reference_processor.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/gc/allocator/rosalloc.cc: In member function 'void art::gc::allocator::RosAlloc::Run::ZeroHeaderAndSlotHeaders()': art/runtime/gc/allocator/rosalloc.cc:947:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::gc::allocator::RosAlloc::Run'; use assignment or value-initialization instead [-Wclass-memaccess] 947 | memset(this, 0, headerSizes[idx]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/rosalloc.h:350:9: note: 'class art::gc::allocator::RosAlloc::Run' declared here 350 | class Run { | ^~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/gc/reference_queue.cc art/runtime/class_linker.cc: In member function 'void art::ClassLinker::SetEntryPointsToCompiledCode(art::ArtMethod*, const void*) const': art/runtime/class_linker.cc:8606:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 8606 | OatFile::OatMethod oat_method((const uint8_t *)base, code_offset); | ^~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/allocation_record.h:24: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/class-inl.h:20, from art/runtime/gc/reference_queue.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/gc/space/space-inl.h:24, from art/runtime/gc/collector/mark_compact.cc:29: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/gc/space/space-inl.h:24, from art/runtime/gc/collector/mark_sweep.cc:40: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/mirror/object-inl.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/gc/collector/semi_space.h:20, from art/runtime/gc/collector/semi_space-inl.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/gc/scoped_gc_critical_section.cc In file included from art/runtime/class_table.h:25, from art/runtime/class_table-inl.h:20, from art/runtime/mirror/class_loader-inl.h:22, from art/runtime/mirror/object-refvisitor-inl.h:22, from art/runtime/gc/accounting/mod_union_table.cc:29: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:23, from art/runtime/mirror/class-inl.h:20: art/runtime/dex_file.h: At global scope: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:23, from art/runtime/mirror/class-inl.h:20: art/runtime/dex_file.h: At global scope: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/class_table.h:25, from art/runtime/class_table-inl.h:20, from art/runtime/mirror/class_loader-inl.h:22, from art/runtime/mirror/object-refvisitor-inl.h:22, from art/runtime/gc/collector/mark_sweep-inl.h:24: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/gc/collector/mark_sweep.h:20, from art/runtime/gc/collector/mark_sweep.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/deque:62, from art/runtime/gc/collector/mark_compact.h:20, from art/runtime/gc/collector/mark_compact.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/scoped_gc_critical_section.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/gc/space/space-inl.h:24, from art/runtime/gc/collector/sticky_mark_sweep.cc:23: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ host C++: libart <= art/runtime/gc/space/bump_pointer_space.cc In file included from art/runtime/art_method-inl.h:32, from art/runtime/mirror/class_ext-inl.h:22, from art/runtime/mirror/class-refvisitor-inl.h:23, from art/runtime/mirror/object-refvisitor-inl.h:23: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/mirror/object-inl.h:22: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/image.h:24: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/image.h:24: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/gc/space/dlmalloc_space.cc In file included from art/runtime/art_method-inl.h:32, from art/runtime/mirror/class_ext-inl.h:22, from art/runtime/mirror/class-refvisitor-inl.h:23, from art/runtime/mirror/object-refvisitor-inl.h:23: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/collector/garbage_collector.h:28, from art/runtime/gc/collector/mark_sweep.h:26, from art/runtime/gc/accounting/remembered_set.cc:24: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:25, from art/runtime/gc/space/bump_pointer_space.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/gc/space/image_space.cc art/runtime/gc/allocator/rosalloc.cc: In member function 'size_t art::gc::allocator::RosAlloc::ReleasePages()': art/runtime/gc/allocator/rosalloc.cc:2021:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 2021 | } | ^ art/runtime/gc/allocator/rosalloc.cc:2022:7: note: here 2022 | case kPageMapLargeObject: // Fall through. | ^~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/gc/space/large_object_space.cc In file included from art/runtime/gc/space/dlmalloc_space-inl.h:22, from art/runtime/gc/space/dlmalloc_space.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/jit/jit.h:20, from art/runtime/gc/space/dlmalloc_space.cc:23: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/handle.h:20, from art/runtime/gc/heap.h:36, from art/runtime/gc/accounting/mod_union_table.cc:25: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/gc/reference_processor.h:20, from art/runtime/gc/reference_processor.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/gc/space/malloc_space.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31, from art/runtime/gc/space/dlmalloc_space.cc:26: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/gc/space/image_space.cc:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/handle.h:20, from art/runtime/gc/heap.h:36, from art/runtime/gc/collector/mark_sweep-inl.h:22: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object-inl.h:20: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/base/mutex-inl.h:25, from art/runtime/gc/space/large_object_space.cc:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/gc/heap.h:21, from art/runtime/gc/heap.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/scoped_thread_state_change-inl.h:24, from art/runtime/gc/space/large_object_space.cc:32: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/gc/space/image_space.cc:35: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/class-inl.h:20, from art/runtime/gc/space/malloc_space.cc:26: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/gc/collector/concurrent_copying.cc:32: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/intern_table.h:24, from art/runtime/gc/collector/concurrent_copying.cc:36: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/runtime/mirror/class_ext-inl.h:22, from art/runtime/mirror/class-refvisitor-inl.h:23, from art/runtime/mirror/object-refvisitor-inl.h:23, from art/runtime/gc/collector/concurrent_copying.cc:39: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/collector/garbage_collector.h:28, from art/runtime/gc/collector/concurrent_copying.h:21: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ host C++: libart <= art/runtime/gc/space/region_space.cc host C++: libart <= art/runtime/gc/space/rosalloc_space.cc host C++: libart <= art/runtime/gc/space/space.cc host C++: libart <= art/runtime/gc/space/zygote_space.cc In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/gc/reference_queue.h:21, from art/runtime/gc/reference_queue.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/gc/allocator/rosalloc.h:34, from art/runtime/gc/space/rosalloc_space.h:20, from art/runtime/gc/space/rosalloc_space-inl.h:20, from art/runtime/gc/space/rosalloc_space.cc:18: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/gc/task_processor.cc In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:25, from art/runtime/gc/space/region_space.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc/accounting/mod_union_table.h:24: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/space.cc:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/mutex-inl.h:25, from art/runtime/gc/space/zygote_space.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31, from art/runtime/gc/space/rosalloc_space.cc:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/zygote_space.cc:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/heap-inl.h:31: art/runtime/gc/space/region_space-inl.h: At global scope: art/runtime/gc/space/region_space-inl.h:188:6: warning: 'always_inline' function might not be inlinable [-Wattributes] 188 | void RegionSpace::WalkInternal(Visitor&& visitor) { | ^~~~~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/obj_ptr.h:190:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 190 | ALWAYS_INLINE bool operator!=(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/obj_ptr.h:190:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 190 | ALWAYS_INLINE bool operator!=(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/scoped_thread_state_change-inl.h:24, from art/runtime/gc/task_processor.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/mutex-inl.h:25, from art/runtime/thread-inl.h:23, from art/runtime/scoped_thread_state_change-inl.h:26: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/gc/collector/concurrent_copying.cc: In member function 'void art::gc::collector::ConcurrentCopying::FillWithDummyObject(art::mirror::Object*, size_t)': art/runtime/gc/collector/concurrent_copying.cc:2150:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 2150 | memset(dummy_obj, 0, byte_size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/mirror/object-inl.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/gc/space/image_space.cc:17: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/gc/space/space.h:20, from art/runtime/gc/space/bump_pointer_space.h:20, from art/runtime/gc/space/bump_pointer_space.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/class_table.h:25, from art/runtime/class_table-inl.h:20, from art/runtime/mirror/class_loader-inl.h:22, from art/runtime/mirror/object-refvisitor-inl.h:22, from art/runtime/gc/collector/mark_compact.cc:32: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/class_table.h:25, from art/runtime/class_table-inl.h:20, from art/runtime/mirror/class_loader-inl.h:22, from art/runtime/mirror/object-refvisitor-inl.h:22, from art/runtime/gc/collector/mark_sweep-inl.h:24: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/class_linker.cc: In member function 'art::mirror::MethodHandle* art::ClassLinker::ResolveMethodHandle(uint32_t, art::ArtMethod*)': art/runtime/class_linker.cc:8576:1: warning: control reaches end of non-void function [-Wreturn-type] 8576 | } | ^ In file included from art/runtime/art_method-inl.h:25: art/runtime/class_linker-inl.h: In static member function 'static bool art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, ClassGetter) [with bool kThrowOnError = true; ClassGetter = art::ClassLinker::ResolveMethod(const art::DexFile&, uint32_t, art::Handle, art::Handle, art::ArtMethod*, art::InvokeType)::]': art/runtime/class_linker-inl.h:116:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 116 | if (dex_cache->GetDexFile()->GetVersion() >= DexFile::kDefaultMethodsVersion) { | ^~ art/runtime/class_linker-inl.h:120:5: note: here 120 | case kVirtual: { | ^~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h: At global scope: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/gc/verification.cc In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/arch/instruction_set.h:21, from art/runtime/gc/space/image_space.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/runtime/mirror/class_ext-inl.h:22, from art/runtime/mirror/class-refvisitor-inl.h:23, from art/runtime/mirror/object-refvisitor-inl.h:23: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/collector/garbage_collector.h:28, from art/runtime/gc/collector/mark_sweep.h:26: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/runtime/mirror/class_ext-inl.h:22, from art/runtime/mirror/class-refvisitor-inl.h:23, from art/runtime/mirror/object-refvisitor-inl.h:23: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/collector/garbage_collector.h:28, from art/runtime/gc/collector/mark_compact.h:26: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/gc/space/space-inl.h:24, from art/runtime/gc/space/malloc_space.cc:24: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/gc/verification.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h: At global scope: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object-inl.h:20: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/gc/space/space.h:20, from art/runtime/gc/space/malloc_space.h:20, from art/runtime/gc/space/malloc_space.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/hprof/hprof.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/gc/collector/semi_space.cc:37: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/gc/space/space.h:20, from art/runtime/gc/space/malloc_space.h:20, from art/runtime/gc/space/dlmalloc_space.h:20, from art/runtime/gc/space/dlmalloc_space-inl.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/intern_table.h:24, from art/runtime/gc/collector/semi_space.cc:41: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/gc/space/large_object_space.cc:30: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/mirror/object-inl.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/hprof/hprof.cc:41: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/gc/space/space.h:20, from art/runtime/gc/space/bump_pointer_space.h:20, from art/runtime/gc/space/region_space.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:31: art/runtime/gc/space/region_space-inl.h: At global scope: art/runtime/gc/space/region_space-inl.h:188:6: warning: 'always_inline' function might not be inlinable [-Wattributes] 188 | void RegionSpace::WalkInternal(Visitor&& visitor) { | ^~~~~~~~~~~ art/runtime/gc/space/region_space-inl.h:188:6: warning: 'always_inline' function might not be inlinable [-Wattributes] In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/jit/profile_compilation_info.h:28: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/interpreter/shadow_frame.h:26, from art/runtime/managed_stack-inl.h:26, from art/runtime/thread-inl.h:26, from art/runtime/scoped_thread_state_change-inl.h:26: art/runtime/dex_file.h: At global scope: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/runtime/mirror/class_ext-inl.h:22, from art/runtime/mirror/class-refvisitor-inl.h:23, from art/runtime/mirror/object-refvisitor-inl.h:23, from art/runtime/gc/collector/mark_sweep-inl.h:24, from art/runtime/gc/collector/semi_space.cc:43: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/collector/garbage_collector.h:28, from art/runtime/gc/collector/semi_space.h:25: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/runtime/method_bss_mapping.h:21, from art/runtime/oat_file.h:30, from art/runtime/jit/jit_code_cache.h:31, from art/runtime/gc/space/dlmalloc_space.cc:24: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ host C++: libart <= art/runtime/image.cc In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/image.h:24: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:23, from art/runtime/mirror/class-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/image.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/gc/allocator/rosalloc.h:23: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/interpreter/shadow_frame.h:26, from art/runtime/managed_stack-inl.h:26, from art/runtime/thread-inl.h:26: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/gc/heap.cc:57: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/image.h:24: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/intern_table.h:24, from art/runtime/gc/heap.cc:71: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object-inl.h:20: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/indirect_reference_table.cc In file included from art/runtime/handle.h:20, from art/runtime/gc/heap.h:36, from art/runtime/gc/reference_queue.cc:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/indirect_reference_table-inl.h:25, from art/runtime/indirect_reference_table.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/gc/space/region_space.h:23, from art/runtime/gc/collector/concurrent_copying-inl.h:25, from art/runtime/read_barrier-inl.h:23, from art/runtime/gc_root-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/obj_ptr.h:20, from art/runtime/gc/verification.h:20, from art/runtime/gc/verification.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/indirect_reference_table.cc:20: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/gc/reference_queue.h:29, from art/runtime/gc/reference_processor.h:23: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/instrumentation.cc In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/stl_tree.h:63, from /usr/include/c++/13.2.1/set:62, from art/runtime/hprof/hprof.cc:37: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/reference_queue.h:29: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] In file included from art/runtime/art_method-inl.h:32, from art/runtime/mirror/class_ext-inl.h:22, from art/runtime/mirror/class-refvisitor-inl.h:23, from art/runtime/mirror/object-refvisitor-inl.h:23, from art/runtime/gc/heap.cc:77: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/allocation_listener.h:26, from art/runtime/gc/heap.cc:25: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/instrumentation.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/jit/jit.h:20, from art/runtime/instrumentation.cc:34: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/image.cc:17: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/base/length_prefixed_array.h:23, from art/runtime/image.cc:20: art/runtime/stride_iterator.h: At global scope: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/enums.h:21, from art/runtime/image.h:22: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/intern_table.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/intern_table.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/interpreter/interpreter.cc In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/gc/space/region_space.h:23, from art/runtime/gc/collector/concurrent_copying-inl.h:25, from art/runtime/read_barrier-inl.h:23, from art/runtime/gc_root-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object.h:24: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/interpreter/interpreter_common.h:31, from art/runtime/interpreter/interpreter.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/jit/jit.h:20, from art/runtime/interpreter/interpreter_common.h:43: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/handle.h:20, from art/runtime/gc/heap.h:36: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/art_method-inl.h:32, from art/runtime/gc/space/image_space.cc:29: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/gc/heap.h:36, from art/runtime/gc/space/malloc_space.cc:23: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/interpreter/interpreter_common.cc host C++: libart <= art/runtime/interpreter/interpreter_intrinsics.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/gc/space/dlmalloc_space.cc: In constructor 'art::gc::space::DlMallocSpace::DlMallocSpace(art::MemMap*, size_t, const std::string&, void*, uint8_t*, uint8_t*, uint8_t*, size_t, bool, size_t)': art/runtime/gc/space/dlmalloc_space.cc:41:36: warning: declaration of 'mspace' shadows a global declaration [-Wshadow] 41 | void* mspace, uint8_t* begin, uint8_t* end, uint8_t* limit, | ~~~~~~^~~~~~ In file included from art/runtime/gc/allocator/dlmalloc.h:35, from art/runtime/gc/space/dlmalloc_space-inl.h:21: art/cmdline/../../bionic/libc/upstream-dlmalloc/malloc.h:529:15: note: shadowed declaration is here 529 | typedef void* mspace; | ^~~~~~ art/runtime/gc/space/dlmalloc_space.cc: In constructor 'art::gc::space::DlMallocSpace::DlMallocSpace(art::MemMap*, size_t, const std::string&, void*, uint8_t*, uint8_t*, uint8_t*, size_t, bool, size_t)': art/runtime/gc/space/dlmalloc_space.cc:41:36: warning: declaration of 'mspace' shadows a global declaration [-Wshadow] 41 | void* mspace, uint8_t* begin, uint8_t* end, uint8_t* limit, | ~~~~~~^~~~~~ art/cmdline/../../bionic/libc/upstream-dlmalloc/malloc.h:529:15: note: shadowed declaration is here 529 | typedef void* mspace; | ^~~~~~ In file included from art/runtime/class_table.h:25, from art/runtime/class_table-inl.h:20, from art/runtime/mirror/class_loader-inl.h:22, from art/runtime/mirror/object-refvisitor-inl.h:22, from art/runtime/gc/space/image_space.cc:43: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/gc/space/dlmalloc_space.cc: In member function 'virtual art::mirror::Object* art::gc::space::DlMallocSpace::AllocWithGrowth(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space.cc:147:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 147 | memset(result, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31, from art/runtime/oat_file.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/gc/space/dlmalloc_space.cc: In member function 'virtual size_t art::gc::space::DlMallocSpace::FreeList(art::Thread*, size_t, art::mirror::Object**)': art/runtime/gc/space/dlmalloc_space.cc:212:15: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 212 | memset(ptrs[i], 0xEF, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/interpreter/interpreter_common.h:31, from art/runtime/interpreter/interpreter_common.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/interpreter/interpreter_common.h:31, from art/runtime/interpreter/interpreter_intrinsics.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/interpreter/interpreter_switch_impl.cc In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/jit/jit.h:20, from art/runtime/interpreter/interpreter_common.h:43: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/gc/space/rosalloc_space.cc: In member function 'virtual size_t art::gc::space::RosAllocSpace::FreeList(art::Thread*, size_t, art::mirror::Object**)': art/runtime/gc/space/rosalloc_space.cc:232:15: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 232 | memset(ptrs[i], 0xEF, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/interpreter/interpreter_common.h:43: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/interpreter/interpreter_common.h:31, from art/runtime/interpreter/interpreter_switch_impl.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/interpreter/lock_count_data.cc host C++: libart <= art/runtime/interpreter/shadow_frame.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/list:62, from art/runtime/instrumentation.h:21, from art/runtime/instrumentation.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/intern_table.h:24, from art/runtime/intern_table.cc:17: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_set.h:33, from /usr/include/c++/13.2.1/unordered_set:41, from art/runtime/intern_table.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/image.h:24: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/interpreter/interpreter_common.h:43: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | art/runtime/interpreter/interpreter_switch_impl.cc:711: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 711 | #pragma clang diagnostic push | art/runtime/interpreter/interpreter_switch_impl.cc:712: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 712 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/interpreter/interpreter_switch_impl.cc:780: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 780 | #pragma clang diagnostic pop | art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:25, from art/runtime/interpreter/lock_count_data.cc:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/interpreter/shadow_frame.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/interpreter/interpreter.h:21, from art/runtime/interpreter/interpreter.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/space/malloc_space.cc: In member function 'virtual void art::gc::space::MallocSpace::RegisterRecentFree(art::mirror::Object*)': art/runtime/gc/space/malloc_space.cc:122:41: warning: array subscript is outside array bounds of 'std::pair [0]' [-Warray-bounds=] 122 | recent_freed_objects_[recent_free_pos_] = std::make_pair(ptr, ptr->GetClass()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ art/runtime/gc/space/malloc_space.h:173:52: note: while referencing 'art::gc::space::MallocSpace::recent_freed_objects_' 173 | std::pair recent_freed_objects_[kRecentFreeCount]; | ^~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/space/malloc_space.cc:122:41: warning: array subscript is outside array bounds of 'std::pair [0]' [-Warray-bounds=] 122 | recent_freed_objects_[recent_free_pos_] = std::make_pair(ptr, ptr->GetClass()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ art/runtime/gc/space/malloc_space.h:173:52: note: while referencing 'art::gc::space::MallocSpace::recent_freed_objects_' 173 | std::pair recent_freed_objects_[kRecentFreeCount]; | ^~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/object.h:24: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart <= art/runtime/interpreter/unstarted_runtime.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:23, from art/runtime/mirror/reference.h:23, from art/runtime/read_barrier-inl.h:27: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/indirect_reference_table.h:24, from art/runtime/indirect_reference_table-inl.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:31: art/runtime/gc/space/region_space-inl.h: At global scope: art/runtime/gc/space/region_space-inl.h:188:6: warning: 'always_inline' function might not be inlinable [-Wattributes] 188 | void RegionSpace::WalkInternal(Visitor&& visitor) { | ^~~~~~~~~~~ art/runtime/gc/space/region_space-inl.h:188:6: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/gc/space/region_space-inl.h:188:6: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/gc/space/region_space-inl.h:188:6: warning: 'always_inline' function might not be inlinable [-Wattributes] In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/interpreter/interpreter.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/interpreter/unstarted_runtime.cc:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/java_frame_root_info.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/interpreter/interpreter_common.h:43, from art/runtime/interpreter/unstarted_runtime.cc:41: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/interpreter/interpreter.h:21, from art/runtime/interpreter/interpreter_common.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/object.h:24: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/interpreter/interpreter.h:21, from art/runtime/interpreter/interpreter_common.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26, from art/runtime/mirror/array-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/interpreter/interpreter.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/interpreter/interpreter_switch_impl.h:22, from art/runtime/interpreter/interpreter_switch_impl.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/jvalue.h:21, from art/runtime/interpreter/interpreter_intrinsics.h:20, from art/runtime/interpreter/interpreter_intrinsics.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/interpreter/shadow_frame.h:26, from art/runtime/interpreter/shadow_frame.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/mirror/object-inl.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/interpreter/lock_count_data.h:20, from art/runtime/interpreter/lock_count_data.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/class_table.h:25, from art/runtime/class_table-inl.h:20, from art/runtime/mirror/class_loader-inl.h:22, from art/runtime/mirror/object-refvisitor-inl.h:22, from art/runtime/gc/verification.cc:24: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/interpreter/interpreter_switch_impl.h:21: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/runtime/hprof/hprof.cc:42: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class.h:23, from art/runtime/mirror/reference.h:23, from art/runtime/read_barrier-inl.h:27: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/interpreter/shadow_frame.h:22: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/runtime/mirror/class_ext-inl.h:22, from art/runtime/mirror/class-refvisitor-inl.h:23, from art/runtime/mirror/object-refvisitor-inl.h:23: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/java_vm_ext.cc In file included from art/runtime/class_table.h:25, from art/runtime/class_table-inl.h:20, from art/runtime/mirror/class_loader-inl.h:22, from art/runtime/mirror/object-refvisitor-inl.h:22, from art/runtime/hprof/hprof.cc:62: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/jdwp/jdwp_event.cc In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/java_vm_ext.cc:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/intern_table.cc:23: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/intern_table.cc:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/interpreter/interpreter.h:21, from art/runtime/interpreter/unstarted_runtime.h:20, from art/runtime/interpreter/unstarted_runtime.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/java_vm_ext.cc:27: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/runtime_options.h:30, from art/runtime/parsed_options.h:30, from art/runtime/java_vm_ext.cc:39: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/jdwp/jdwp_event.cc:26: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/jdwp/jdwp_expand_buf.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object-readbarrier-inl.h:20, from art/runtime/gc/collector/concurrent_copying-inl.h:27: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/interpreter/interpreter.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/jdwp/jdwp_handler.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object-inl.h:20: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/debugger.h:31, from art/runtime/jdwp/jdwp_handler.cc:29: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] In file included from art/runtime/debugger.h:37: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object.h:24: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart <= art/runtime/jdwp/jdwp_main.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/jdwp/jdwp_request.cc In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/instrumentation.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/debugger.h:31, from art/runtime/jdwp/jdwp_main.cc:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/debugger.h:37: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/debugger.h:31, from art/runtime/jdwp/jdwp_priv.h:22, from art/runtime/jdwp/jdwp_request.cc:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/debugger.h:37: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/jdwp/jdwp_socket.cc In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/jdwp/object_registry.cc host C++: libart <= art/runtime/jni_env_ext.cc In file included from art/runtime/gc/heap-inl.h:31: art/runtime/gc/space/region_space-inl.h:188:6: warning: 'always_inline' function might not be inlinable [-Wattributes] 188 | void RegionSpace::WalkInternal(Visitor&& visitor) { | ^~~~~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ host C++: libart <= art/runtime/jit/debugger_interface.cc In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/debugger.h:31, from art/runtime/jdwp/jdwp_priv.h:22, from art/runtime/jdwp/jdwp_socket.cc:32: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/jit/jit.cc In file included from art/runtime/debugger.h:37: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/java_vm_ext.h:23, from art/runtime/java_vm_ext.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/hprof/hprof.cc: In member function 'void art::hprof::Hprof::DumpHeapClass(art::mirror::Class*)': art/runtime/hprof/hprof.cc:1326:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 1326 | ++overhead_fields; | ^~~~~~~~~~~~~~~~~ art/runtime/hprof/hprof.cc:1330:9: note: here 1330 | case 1: { | ^~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/handle_scope-inl.h:24, from art/runtime/jdwp/object_registry.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:25, from art/runtime/jni_env_ext.cc:29: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/jdwp/object_registry.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/runtime/atomic.h:23, from art/runtime/jdwp/jdwp.h:20, from art/runtime/jdwp/jdwp_event.h:22, from art/runtime/jdwp/jdwp_event.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/hprof/hprof.cc: In member function 'void art::hprof::Hprof::DumpHeapInstanceObject(art::mirror::Object*, art::mirror::Class*, const std::set&)': art/runtime/hprof/hprof.cc:1516:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1516 | if (mirror::kUseStringCompression && | ^~ art/runtime/hprof/hprof.cc:1524:7: note: here 1524 | case hprof_basic_float: | ^~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/jit/jit.h:20, from art/runtime/jit/jit.cc:17: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/thread-current-inl.h:20, from art/runtime/jit/debugger_interface.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/jit/debugger_interface.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart <= art/runtime/jit/jit_code_cache.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/jit/jit.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/jit/jit_code_cache.h:24, from art/runtime/jit/jit_code_cache.cc:17: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:36, from art/runtime/oat_file.h:31, from art/runtime/jit/jit_code_cache.h:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/stack_map.h:23, from art/runtime/oat_quick_method_header.h:24, from art/runtime/instrumentation.cc:42: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:25, from art/runtime/jit/jit_code_cache.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/jit/jit_code_cache.cc:25: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/runtime/interpreter/interpreter_common.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/jdwp/jdwp_handler.cc:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/interpreter/interpreter_common.h:37: art/runtime/common_dex_operations.h: At global scope: art/runtime/common_dex_operations.h:31:8: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, const art::DexFile::CodeItem*, art::ShadowFrame*, art::JValue*)' in same scope [-Wredundant-decls] 31 | void ArtInterpreterToInterpreterBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter.h:55:6: note: previous declaration of 'void art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, const art::DexFile::CodeItem*, art::ShadowFrame*, art::JValue*)' 55 | void ArtInterpreterToInterpreterBridge(Thread* self, const DexFile::CodeItem* code_item, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/jit/profile_compilation_info.cc In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/jit/profiling_info.cc In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from libbase/include/android-base/stringprintf.h:21, from art/runtime/jdwp/jdwp_main.cc:23: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/jit/profile_compilation_info.cc:39: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/runtime/interpreter/interpreter_common.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/intern_table.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/runtime/atomic.h:23, from art/runtime/jdwp/jdwp.h:20, from art/runtime/jdwp/jdwp_request.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/stack_map.h:23, from art/runtime/entrypoints/entrypoint_utils-inl.h:41, from art/runtime/interpreter/interpreter_common.h:41: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/read_barrier.h:23, from art/runtime/interpreter/shadow_frame.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/jit/profiling_info.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/interpreter/interpreter_common.h:37: art/runtime/common_dex_operations.h: At global scope: art/runtime/common_dex_operations.h:31:8: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, const art::DexFile::CodeItem*, art::ShadowFrame*, art::JValue*)' in same scope [-Wredundant-decls] 31 | void ArtInterpreterToInterpreterBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter.h:55:6: note: previous declaration of 'void art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, const art::DexFile::CodeItem*, art::ShadowFrame*, art::JValue*)' 55 | void ArtInterpreterToInterpreterBridge(Thread* self, const DexFile::CodeItem* code_item, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/runtime/interpreter/interpreter_common.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/jit/jit.h:20, from art/runtime/jit/profiling_info.cc:21: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from libbase/include/android-base/stringprintf.h:21, from art/runtime/jdwp/jdwp_socket.cc:29: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/interpreter/interpreter_common.h:37: art/runtime/common_dex_operations.h: At global scope: art/runtime/common_dex_operations.h:31:8: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, const art::DexFile::CodeItem*, art::ShadowFrame*, art::JValue*)' in same scope [-Wredundant-decls] 31 | void ArtInterpreterToInterpreterBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter.h:55:6: note: previous declaration of 'void art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, const art::DexFile::CodeItem*, art::ShadowFrame*, art::JValue*)' 55 | void ArtInterpreterToInterpreterBridge(Thread* self, const DexFile::CodeItem* code_item, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/runtime/interpreter/interpreter_common.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/art_method.h:24, from art/runtime/art_method-inl.h:20: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/jit/profile_saver.cc In file included from art/runtime/art_method.h:27, from art/runtime/mirror/object-inl.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/interpreter/interpreter_common.h:37: art/runtime/common_dex_operations.h: At global scope: art/runtime/common_dex_operations.h:31:8: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, const art::DexFile::CodeItem*, art::ShadowFrame*, art::JValue*)' in same scope [-Wredundant-decls] 31 | void ArtInterpreterToInterpreterBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/interpreter/interpreter_common.h:20: art/runtime/interpreter/interpreter.h:55:6: note: previous declaration of 'void art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, const art::DexFile::CodeItem*, art::ShadowFrame*, art::JValue*)' 55 | void ArtInterpreterToInterpreterBridge(Thread* self, const DexFile::CodeItem* code_item, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/jni_env_ext.h:23, from art/runtime/jni_env_ext.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/stack_map.h:23, from art/runtime/entrypoints/entrypoint_utils-inl.h:41, from art/runtime/interpreter/interpreter_common.h:41: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from art/runtime/base/histogram-inl.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/jit/jit_code_cache.h:24, from art/runtime/jit/profile_saver.h:21, from art/runtime/jit/profile_saver.cc:17: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/mirror/class.h:36, from art/runtime/oat_file.h:31, from art/runtime/jit/jit_code_cache.h:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/stack_map.h:23, from art/runtime/entrypoints/entrypoint_utils-inl.h:41, from art/runtime/interpreter/interpreter_common.h:41: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:25, from art/runtime/jit/profile_saver.cc:26: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/stl_tree.h:63, from /usr/include/c++/13.2.1/map:62, from art/runtime/jdwp/object_registry.h:23, from art/runtime/jdwp/object_registry.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/object.h:24: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/jit_code_cache.h:23: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/list:62, from art/runtime/instrumentation.h:21, from art/runtime/jit/jit_code_cache.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/jit/profile_saver.cc:30: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/interpreter/interpreter_common.h:531:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 531 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:37:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 37 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/stack_map.h:23, from art/runtime/entrypoints/entrypoint_utils-inl.h:41, from art/runtime/interpreter/interpreter_common.h:41: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/jit/profile_compilation_info.h:28: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from art/runtime/base/logging.h:24, from art/runtime/atomic.h:100, from art/runtime/base/mutex.h:26: art/runtime/interpreter/interpreter.cc: In function 'art::JValue art::interpreter::Execute(art::Thread*, const art::DexFile::CodeItem*, art::ShadowFrame&, art::JValue, bool)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::interpreter::InterpreterImplKind' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/runtime/interpreter/interpreter.cc:329:7: note: in expansion of macro 'DCHECK_EQ' 329 | DCHECK_EQ(kInterpreterImplKind, kSwitchImplKind); | ^~~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/runtime/interpreter/interpreter.cc:329:7: note: in expansion of macro 'DCHECK_EQ' 329 | DCHECK_EQ(kInterpreterImplKind, kSwitchImplKind); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::interpreter::InterpreterImplKind' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/runtime/interpreter/interpreter.cc:329:7: note: in expansion of macro 'DCHECK_EQ' 329 | DCHECK_EQ(kInterpreterImplKind, kSwitchImplKind); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/runtime/interpreter/interpreter.cc:329:7: note: in expansion of macro 'DCHECK_EQ' 329 | DCHECK_EQ(kInterpreterImplKind, kSwitchImplKind); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::interpreter::InterpreterImplKind' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/runtime/interpreter/interpreter.cc:350:7: note: in expansion of macro 'DCHECK_EQ' 350 | DCHECK_EQ(kInterpreterImplKind, kSwitchImplKind); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/runtime/interpreter/interpreter.cc:350:7: note: in expansion of macro 'DCHECK_EQ' 350 | DCHECK_EQ(kInterpreterImplKind, kSwitchImplKind); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::interpreter::InterpreterImplKind' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/runtime/interpreter/interpreter.cc:350:7: note: in expansion of macro 'DCHECK_EQ' 350 | DCHECK_EQ(kInterpreterImplKind, kSwitchImplKind); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/runtime/interpreter/interpreter.cc:350:7: note: in expansion of macro 'DCHECK_EQ' 350 | DCHECK_EQ(kInterpreterImplKind, kSwitchImplKind); | ^~~~~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28, from art/runtime/art_method-inl.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ host C++: libart <= art/runtime/jni_internal.cc In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/profile_compilation_info.cc:17: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/stl_tree.h:63, from /usr/include/c++/13.2.1/set:62, from art/runtime/jit/profile_compilation_info.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/jit/profiling_info.cc:17: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/jit/profiling_info.h:24: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/jni_internal.cc:26: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/interpreter/interpreter_common.h:531:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 531 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:37:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 37 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/method_reference.h:22, from art/runtime/jit/jit_code_cache.h:30: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/runtime/method_bss_mapping.h:21, from art/runtime/oat_file.h:30: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h: At global scope: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/runtime_options.h:30, from art/runtime/parsed_options.h:30, from art/runtime/jni_internal.cc:53: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/jit/profile_compilation_info.h:28: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/stack_map.h:23, from art/runtime/entrypoints/entrypoint_utils-inl.h:41, from art/runtime/interpreter/unstarted_runtime.cc:38: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/interpreter/interpreter_common.h:531:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 531 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:37:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 37 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/jobject_comparator.cc In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/runtime/jit/profiling_info.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/jit/profile_compilation_info.cc:41: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/jit/profiling_info.h:24: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/interpreter/interpreter_common.h:531:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 531 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:37:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 37 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/jdwp/object_registry.h:25: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/handle_scope-inl.h:20: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/array-inl.h:27, from art/runtime/jobject_comparator.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/interpreter/interpreter_common.h:37: art/runtime/common_dex_operations.h:31:8: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, const art::DexFile::CodeItem*, art::ShadowFrame*, art::JValue*)' in same scope [-Wredundant-decls] 31 | void ArtInterpreterToInterpreterBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter.h:55:6: note: previous declaration of 'void art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, const art::DexFile::CodeItem*, art::ShadowFrame*, art::JValue*)' 55 | void ArtInterpreterToInterpreterBridge(Thread* self, const DexFile::CodeItem* code_item, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object-inl.h:20: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/linear_alloc.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/linear_alloc.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/jit_code_cache.h:23: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/jit/profile_saver.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/interpreter/interpreter.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/interpreter/interpreter.cc:39:45: warning: 'always_inline' function might not be inlinable [-Wattributes] 39 | ALWAYS_INLINE static ObjPtr ObjArg(uint32_t arg) | ^~~~~~ art/runtime/jit/profile_compilation_info.cc: In member function 'bool art::ProfileCompilationInfo::ReadInlineCache(SafeBuffer&, uint8_t, InlineCacheMap*, std::string*)': art/runtime/jit/profile_compilation_info.cc:727:33: warning: passing 'uint8_t' {aka 'unsigned char'} chooses 'int' over 'unsigned int' [-Wsign-promo] 727 | *error += std::to_string(dex_profile_index) + " " + std::to_string(number_of_dex_files); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ art/runtime/jit/profile_compilation_info.cc:727:33: warning: in call to 'std::string std::__cxx11::to_string(int)' [-Wsign-promo] art/runtime/jit/profile_compilation_info.cc:727:75: warning: passing 'uint8_t' {aka 'unsigned char'} chooses 'int' over 'unsigned int' [-Wsign-promo] 727 | *error += std::to_string(dex_profile_index) + " " + std::to_string(number_of_dex_files); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ art/runtime/jit/profile_compilation_info.cc:727:75: warning: in call to 'std::string std::__cxx11::to_string(int)' [-Wsign-promo] art/runtime/jit/profile_compilation_info.cc: In member function 'bool art::ProfileCompilationInfo::ReadMethods(SafeBuffer&, uint8_t, const ProfileLineHeader&, std::string*)': art/runtime/jit/profile_compilation_info.cc:747:12: warning: enum constant in boolean context [-Wint-in-bool-context] 747 | return kProfileLoadBadData; | ^~~~~~~~~~~~~~~~~~~ art/runtime/jit/profile_compilation_info.cc: In member function 'bool art::ProfileCompilationInfo::ReadClasses(SafeBuffer&, const ProfileLineHeader&, std::string*)': art/runtime/jit/profile_compilation_info.cc:779:12: warning: enum constant in boolean context [-Wint-in-bool-context] 779 | return kProfileLoadBadData; | ^~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/managed_stack.cc host C++: libart <= art/runtime/mem_map.cc In file included from art/runtime/art_method-inl.h:25: art/runtime/class_linker-inl.h: In static member function 'static bool art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, ClassGetter) [with bool kThrowOnError = true; ClassGetter = art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, uint32_t, art::ObjPtr)::]': art/runtime/class_linker-inl.h:116:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 116 | if (dex_cache->GetDexFile()->GetVersion() >= DexFile::kDefaultMethodsVersion) { | ^~ art/runtime/class_linker-inl.h:120:5: note: here 120 | case kVirtual: { | ^~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/memory_region.cc In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/indirect_reference_table.h:29, from art/runtime/java_vm_ext.h:24: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/jvalue.h:25: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:294:27: warning: 'always_inline' function might not be inlinable [-Wattributes] 294 | static ALWAYS_INLINE bool MterpStringEquals(ShadowFrame* shadow_frame, | ^~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:266:27: warning: 'always_inline' function might not be inlinable [-Wattributes] 266 | static ALWAYS_INLINE bool MterpStringGetCharsNoCheck(ShadowFrame* shadow_frame, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:247:27: warning: 'always_inline' function might not be inlinable [-Wattributes] 247 | static ALWAYS_INLINE bool Mterp##name(ShadowFrame* shadow_frame, \ | ^~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:263:1: note: in expansion of macro 'SIMPLE_STRING_INTRINSIC' 263 | SIMPLE_STRING_INTRINSIC(StringLength, SetI(str->GetLength())) | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:247:27: warning: 'always_inline' function might not be inlinable [-Wattributes] 247 | static ALWAYS_INLINE bool Mterp##name(ShadowFrame* shadow_frame, \ | ^~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:260:1: note: in expansion of macro 'SIMPLE_STRING_INTRINSIC' 260 | SIMPLE_STRING_INTRINSIC(StringIsEmpty, SetZ(str->GetLength() == 0)) | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:223:27: warning: 'always_inline' function might not be inlinable [-Wattributes] 223 | static ALWAYS_INLINE bool Mterp##name(ShadowFrame* shadow_frame, \ | ^~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:244:1: note: in expansion of macro 'STRING_INDEXOF_INTRINSIC' 244 | STRING_INDEXOF_INTRINSIC(StringIndexOfAfter, shadow_frame->GetVReg(arg[2])); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:223:27: warning: 'always_inline' function might not be inlinable [-Wattributes] 223 | static ALWAYS_INLINE bool Mterp##name(ShadowFrame* shadow_frame, \ | ^~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:241:1: note: in expansion of macro 'STRING_INDEXOF_INTRINSIC' 241 | STRING_INDEXOF_INTRINSIC(StringIndexOf, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:206:27: warning: 'always_inline' function might not be inlinable [-Wattributes] 206 | static ALWAYS_INLINE bool MterpStringCompareTo(ShadowFrame* shadow_frame, | ^~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:182:27: warning: 'always_inline' function might not be inlinable [-Wattributes] 182 | static ALWAYS_INLINE bool MterpStringCharAt(ShadowFrame* shadow_frame, | ^~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:179:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | UNARY_INTRINSIC(MterpMathAtan, std::atan, GetVRegDouble, SetD); | ^~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:176:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 176 | UNARY_INTRINSIC(MterpMathAcos, std::acos, GetVRegDouble, SetD); | ^~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:173:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 173 | UNARY_INTRINSIC(MterpMathAsin, std::asin, GetVRegDouble, SetD); | ^~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:170:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 170 | UNARY_INTRINSIC(MterpMathTan, std::tan, GetVRegDouble, SetD); | ^~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:167:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 167 | UNARY_INTRINSIC(MterpMathCos, std::cos, GetVRegDouble, SetD); | ^~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:164:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 164 | UNARY_INTRINSIC(MterpMathSin, std::sin, GetVRegDouble, SetD); | ^~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:161:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 161 | UNARY_INTRINSIC(MterpMathFloor, std::floor, GetVRegDouble, SetD); | ^~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:158:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 158 | UNARY_INTRINSIC(MterpMathCeil, std::ceil, GetVRegDouble, SetD); | ^~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:155:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 155 | UNARY_INTRINSIC(MterpMathSqrt, std::sqrt, GetVRegDouble, SetD); | ^~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:152:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 152 | UNARY_INTRINSIC(MterpMathAbsDouble, INT64_C(0x7fffffffffffffff)&, GetVRegLong, SetJ); | ^~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:149:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 149 | UNARY_INTRINSIC(MterpMathAbsFloat, 0x7fffffff&, GetVReg, SetI); | ^~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:146:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 146 | UNARY_INTRINSIC(MterpMathAbsLong, std::abs, GetVRegLong, SetJ); | ^~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:143:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 143 | UNARY_INTRINSIC(MterpMathAbsInt, std::abs, GetVReg, SetI); | ^~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:140:21: warning: 'always_inline' function might not be inlinable [-Wattributes] 140 | BINARY_JJ_INTRINSIC(MterpMathMaxLongLong, std::max, SetJ); | ^~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:28:27: note: in definition of macro 'BINARY_INTRINSIC' 28 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:140:1: note: in expansion of macro 'BINARY_JJ_INTRINSIC' 140 | BINARY_JJ_INTRINSIC(MterpMathMaxLongLong, std::max, SetJ); | ^~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:137:21: warning: 'always_inline' function might not be inlinable [-Wattributes] 137 | BINARY_II_INTRINSIC(MterpMathMaxIntInt, std::max, SetI); | ^~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:28:27: note: in definition of macro 'BINARY_INTRINSIC' 28 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:137:1: note: in expansion of macro 'BINARY_II_INTRINSIC' 137 | BINARY_II_INTRINSIC(MterpMathMaxIntInt, std::max, SetI); | ^~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:134:21: warning: 'always_inline' function might not be inlinable [-Wattributes] 134 | BINARY_JJ_INTRINSIC(MterpMathMinLongLong, std::min, SetJ); | ^~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:28:27: note: in definition of macro 'BINARY_INTRINSIC' 28 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:134:1: note: in expansion of macro 'BINARY_JJ_INTRINSIC' 134 | BINARY_JJ_INTRINSIC(MterpMathMinLongLong, std::min, SetJ); | ^~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:131:21: warning: 'always_inline' function might not be inlinable [-Wattributes] 131 | BINARY_II_INTRINSIC(MterpMathMinIntInt, std::min, SetI); | ^~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:28:27: note: in definition of macro 'BINARY_INTRINSIC' 28 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:131:1: note: in expansion of macro 'BINARY_II_INTRINSIC' 131 | BINARY_II_INTRINSIC(MterpMathMinIntInt, std::min, SetI); | ^~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:128:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 128 | UNARY_INTRINSIC(MterpShortReverseBytes, BSWAP, GetVRegShort, SetS); | ^~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:125:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 125 | UNARY_INTRINSIC(MterpLongSignum, Signum, GetVRegLong, SetI); | ^~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:122:21: warning: 'always_inline' function might not be inlinable [-Wattributes] 122 | BINARY_JJ_INTRINSIC(MterpLongRotateLeft, (Rot), SetJ); | ^~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:28:27: note: in definition of macro 'BINARY_INTRINSIC' 28 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:122:1: note: in expansion of macro 'BINARY_JJ_INTRINSIC' 122 | BINARY_JJ_INTRINSIC(MterpLongRotateLeft, (Rot), SetJ); | ^~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:119:21: warning: 'always_inline' function might not be inlinable [-Wattributes] 119 | BINARY_JJ_INTRINSIC(MterpLongRotateRight, (Rot), SetJ); | ^~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:28:27: note: in definition of macro 'BINARY_INTRINSIC' 28 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:119:1: note: in expansion of macro 'BINARY_JJ_INTRINSIC' 119 | BINARY_JJ_INTRINSIC(MterpLongRotateRight, (Rot), SetJ); | ^~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:116:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 116 | UNARY_INTRINSIC(MterpLongNumberOfTrailingZeros, JAVASTYLE_CTZ, GetVRegLong, SetJ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:113:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 113 | UNARY_INTRINSIC(MterpLongNumberOfLeadingZeros, JAVASTYLE_CLZ, GetVRegLong, SetJ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:110:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 110 | UNARY_INTRINSIC(MterpLongLowestOneBit, LowestOneBitValue, GetVRegLong, SetJ); | ^~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:107:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 107 | UNARY_INTRINSIC(MterpLongHighestOneBit, HighestOneBitValue, GetVRegLong, SetJ); | ^~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:104:21: warning: 'always_inline' function might not be inlinable [-Wattributes] 104 | BINARY_JJ_INTRINSIC(MterpLongCompare, Compare, SetI); | ^~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:28:27: note: in definition of macro 'BINARY_INTRINSIC' 28 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:104:1: note: in expansion of macro 'BINARY_JJ_INTRINSIC' 104 | BINARY_JJ_INTRINSIC(MterpLongCompare, Compare, SetI); | ^~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:101:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 101 | UNARY_INTRINSIC(MterpLongBitCount, POPCOUNT, GetVRegLong, SetI); | ^~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:98:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 98 | UNARY_INTRINSIC(MterpLongReverseBytes, BSWAP, GetVRegLong, SetJ); | ^~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:95:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 95 | UNARY_INTRINSIC(MterpLongReverse, ReverseBits64, GetVRegLong, SetJ); | ^~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:92:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 92 | UNARY_INTRINSIC(MterpIntegerSignum, Signum, GetVReg, SetI); | ^~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:89:21: warning: 'always_inline' function might not be inlinable [-Wattributes] 89 | BINARY_II_INTRINSIC(MterpIntegerRotateLeft, (Rot), SetI); | ^~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:28:27: note: in definition of macro 'BINARY_INTRINSIC' 28 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:89:1: note: in expansion of macro 'BINARY_II_INTRINSIC' 89 | BINARY_II_INTRINSIC(MterpIntegerRotateLeft, (Rot), SetI); | ^~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:86:21: warning: 'always_inline' function might not be inlinable [-Wattributes] 86 | BINARY_II_INTRINSIC(MterpIntegerRotateRight, (Rot), SetI); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:28:27: note: in definition of macro 'BINARY_INTRINSIC' 28 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:86:1: note: in expansion of macro 'BINARY_II_INTRINSIC' 86 | BINARY_II_INTRINSIC(MterpIntegerRotateRight, (Rot), SetI); | ^~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:83:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 83 | UNARY_INTRINSIC(MterpIntegerNumberOfTrailingZeros, JAVASTYLE_CTZ, GetVReg, SetI); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:80:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 80 | UNARY_INTRINSIC(MterpIntegerNumberOfLeadingZeros, JAVASTYLE_CLZ, GetVReg, SetI); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:77:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 77 | UNARY_INTRINSIC(MterpIntegerLowestOneBit, LowestOneBitValue, GetVReg, SetI); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:74:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 74 | UNARY_INTRINSIC(MterpIntegerHighestOneBit, HighestOneBitValue, GetVReg, SetI); | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:71:21: warning: 'always_inline' function might not be inlinable [-Wattributes] 71 | BINARY_II_INTRINSIC(MterpIntegerCompare, Compare, SetI); | ^~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:28:27: note: in definition of macro 'BINARY_INTRINSIC' 28 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:71:1: note: in expansion of macro 'BINARY_II_INTRINSIC' 71 | BINARY_II_INTRINSIC(MterpIntegerCompare, Compare, SetI); | ^~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:68:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 68 | UNARY_INTRINSIC(MterpIntegerBitCount, POPCOUNT, GetVReg, SetI); | ^~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:65:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 65 | UNARY_INTRINSIC(MterpIntegerReverseBytes, BSWAP, GetVReg, SetI); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_intrinsics.cc:62:17: warning: 'always_inline' function might not be inlinable [-Wattributes] 62 | UNARY_INTRINSIC(MterpIntegerReverse, ReverseBits32, GetVReg, SetI); | ^~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_intrinsics.cc:49:27: note: in definition of macro 'UNARY_INTRINSIC' 49 | static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ | ^~~~ art/runtime/interpreter/interpreter_common.h:531:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 531 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:37:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 37 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:25: art/runtime/class_linker-inl.h: In static member function 'static bool art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, ClassGetter) [with bool kThrowOnError = true; ClassGetter = art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, uint32_t, art::ObjPtr)::]': art/runtime/class_linker-inl.h:116:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 116 | if (dex_cache->GetDexFile()->GetVersion() >= DexFile::kDefaultMethodsVersion) { | ^~ art/runtime/class_linker-inl.h:120:5: note: here 120 | case kVirtual: { | ^~~~ In file included from art/runtime/art_method-inl.h:32, from art/runtime/jdwp/jdwp_event.cc:27: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/interpreter/interpreter_common.h:40: art/runtime/dex_instruction-inl.h: In member function 'void art::Instruction::GetVarArgs(uint32_t*, uint16_t) const': art/runtime/dex_instruction-inl.h:537:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 537 | arg[4] = InstA(inst_data); | ~~~~~~~^~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:539:5: note: here 539 | case 4: | ^~~~ art/runtime/dex_instruction-inl.h:540:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 540 | arg[3] = (regList >> 12) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:542:5: note: here 542 | case 3: | ^~~~ art/runtime/dex_instruction-inl.h:543:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 543 | arg[2] = (regList >> 8) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:545:5: note: here 545 | case 2: | ^~~~ art/runtime/dex_instruction-inl.h:546:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 546 | arg[1] = (regList >> 4) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:548:5: note: here 548 | case 1: | ^~~~ In file included from art/runtime/method_reference.h:22, from art/runtime/jit/jit_code_cache.h:30: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/runtime/method_bss_mapping.h:21, from art/runtime/oat_file.h:30: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/method_handles.cc In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/jni_internal.cc:22: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/method_handles.h:26, from art/runtime/method_handles-inl.h:20, from art/runtime/method_handles.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/mirror/array.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25, from art/runtime/interpreter/interpreter_common.h:31, from art/runtime/method_handles-inl.h:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/enums.h:21, from art/runtime/mirror/array.h:20, from art/runtime/mirror/array-inl.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/mirror/call_site.cc In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/jit/jit.h:20, from art/runtime/interpreter/interpreter_common.h:43: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 123 | ALWAYS_INLINE bool DoFieldPutCommon(Thread* self, | ^~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:65:27: warning: 'always_inline' function might not be inlinable [-Wattributes] 65 | static ALWAYS_INLINE bool DoFieldGetCommon(Thread* self, | ^~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:65:27: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:65:27: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:65:27: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:65:27: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:65:27: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:65:27: warning: 'always_inline' function might not be inlinable [-Wattributes] In file included from art/runtime/interpreter/interpreter.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Zygote' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:37:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 37 | RUNTIME_OPTIONS_KEY (Unit, Zygote) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:37:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 37 | RUNTIME_OPTIONS_KEY (Unit, Zygote) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Help' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:38:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 38 | RUNTIME_OPTIONS_KEY (Unit, Help) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:38:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 38 | RUNTIME_OPTIONS_KEY (Unit, Help) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ShowVersion' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:39:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 39 | RUNTIME_OPTIONS_KEY (Unit, ShowVersion) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:39:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 39 | RUNTIME_OPTIONS_KEY (Unit, ShowVersion) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPath_a' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:41:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 41 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath_a) // -Xbootclasspath/a | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:41:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 41 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath_a) // -Xbootclasspath/a | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPathLocations' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:42:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 42 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPathLocations) // std::vector | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:42:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 42 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPathLocations) // std::vector | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ClassPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:43:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 43 | RUNTIME_OPTIONS_KEY (std::string, ClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:43:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 43 | RUNTIME_OPTIONS_KEY (std::string, ClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Image' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:44:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 44 | RUNTIME_OPTIONS_KEY (std::string, Image) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:44:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 44 | RUNTIME_OPTIONS_KEY (std::string, Image) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CheckJni' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:45:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 45 | RUNTIME_OPTIONS_KEY (Unit, CheckJni) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:45:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 45 | RUNTIME_OPTIONS_KEY (Unit, CheckJni) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JniOptsForceCopy' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:46:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 46 | RUNTIME_OPTIONS_KEY (Unit, JniOptsForceCopy) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:46:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 46 | RUNTIME_OPTIONS_KEY (Unit, JniOptsForceCopy) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JdwpOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:47:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 47 | RUNTIME_OPTIONS_KEY (JDWP::JdwpOptions, JdwpOptions) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:47:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 47 | RUNTIME_OPTIONS_KEY (JDWP::JdwpOptions, JdwpOptions) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MemoryMaximumSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:48:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 48 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryMaximumSize, gc::Heap::kDefaultMaximumSize) // -Xmx | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:48:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 48 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryMaximumSize, gc::Heap::kDefaultMaximumSize) // -Xmx | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MemoryInitialSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryInitialSize, gc::Heap::kDefaultInitialSize) // -Xms | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryInitialSize, gc::Heap::kDefaultInitialSize) // -Xms | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapGrowthLimit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapGrowthLimit) // Default is 0 for unlimited | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapGrowthLimit) // Default is 0 for unlimited | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapMinFree' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMinFree, gc::Heap::kDefaultMinFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMinFree, gc::Heap::kDefaultMinFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapMaxFree' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMaxFree, gc::Heap::kDefaultMaxFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMaxFree, gc::Heap::kDefaultMaxFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NonMovingSpaceCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | RUNTIME_OPTIONS_KEY (MemoryKiB, NonMovingSpaceCapacity, gc::Heap::kDefaultNonMovingSpaceCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | RUNTIME_OPTIONS_KEY (MemoryKiB, NonMovingSpaceCapacity, gc::Heap::kDefaultNonMovingSpaceCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapTargetUtilization' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | RUNTIME_OPTIONS_KEY (double, HeapTargetUtilization, gc::Heap::kDefaultTargetUtilization) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | RUNTIME_OPTIONS_KEY (double, HeapTargetUtilization, gc::Heap::kDefaultTargetUtilization) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ForegroundHeapGrowthMultiplier' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | RUNTIME_OPTIONS_KEY (double, ForegroundHeapGrowthMultiplier, gc::Heap::kDefaultHeapGrowthMultiplier) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | RUNTIME_OPTIONS_KEY (double, ForegroundHeapGrowthMultiplier, gc::Heap::kDefaultHeapGrowthMultiplier) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ParallelGCThreads' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | RUNTIME_OPTIONS_KEY (unsigned int, ParallelGCThreads, 0u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | RUNTIME_OPTIONS_KEY (unsigned int, ParallelGCThreads, 0u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ConcGCThreads' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (Memory<1>, StackSize) // -Xss | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (Memory<1>, StackSize) // -Xss | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MaxSpinsBeforeThinLockInflation' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:59:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 59 | RUNTIME_OPTIONS_KEY (unsigned int, MaxSpinsBeforeThinLockInflation,Monitor::kDefaultMaxSpinsBeforeThinLockInflation) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:59:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 59 | RUNTIME_OPTIONS_KEY (unsigned int, MaxSpinsBeforeThinLockInflation,Monitor::kDefaultMaxSpinsBeforeThinLockInflation) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LongPauseLogThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LongGCLogThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:62:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 62 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:62:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 62 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ThreadSuspendTimeout' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:64:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 64 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:64:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 64 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpGCPerformanceOnShutdown' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpJITInfoOnShutdown' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:67:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 67 | RUNTIME_OPTIONS_KEY (Unit, DumpJITInfoOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:67:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 67 | RUNTIME_OPTIONS_KEY (Unit, DumpJITInfoOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'IgnoreMaxFootprint' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, IgnoreMaxFootprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, IgnoreMaxFootprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LowMemoryMode' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:69:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 69 | RUNTIME_OPTIONS_KEY (Unit, LowMemoryMode) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:69:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 69 | RUNTIME_OPTIONS_KEY (Unit, LowMemoryMode) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseTLAB' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:70:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 70 | RUNTIME_OPTIONS_KEY (bool, UseTLAB, (kUseTlab || kUseReadBarrier)) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:70:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 70 | RUNTIME_OPTIONS_KEY (bool, UseTLAB, (kUseTlab || kUseReadBarrier)) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'EnableHSpaceCompactForOOM' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | RUNTIME_OPTIONS_KEY (bool, EnableHSpaceCompactForOOM, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | RUNTIME_OPTIONS_KEY (bool, EnableHSpaceCompactForOOM, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseJitCompilation' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpNativeStackOnSigQuit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | RUNTIME_OPTIONS_KEY (bool, DumpNativeStackOnSigQuit, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | RUNTIME_OPTIONS_KEY (bool, DumpNativeStackOnSigQuit, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MadviseRandomAccess' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | RUNTIME_OPTIONS_KEY (bool, MadviseRandomAccess, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | RUNTIME_OPTIONS_KEY (bool, MadviseRandomAccess, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCompileThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | RUNTIME_OPTIONS_KEY (unsigned int, JITCompileThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | RUNTIME_OPTIONS_KEY (unsigned int, JITCompileThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITWarmupThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (unsigned int, JITWarmupThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (unsigned int, JITWarmupThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITOsrThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | RUNTIME_OPTIONS_KEY (unsigned int, JITOsrThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | RUNTIME_OPTIONS_KEY (unsigned int, JITOsrThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITPriorityThreadWeight' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | RUNTIME_OPTIONS_KEY (unsigned int, JITPriorityThreadWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | RUNTIME_OPTIONS_KEY (unsigned int, JITPriorityThreadWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITInvokeTransitionWeight' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCodeCacheInitialCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheInitialCapacity, jit::JitCodeCache::kInitialCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheInitialCapacity, jit::JitCodeCache::kInitialCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCodeCacheMaxCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheMaxCapacity, jit::JitCodeCache::kMaxCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheMaxCapacity, jit::JitCodeCache::kMaxCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HSpaceCompactForOOMMinIntervalsMs' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'PropertiesList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JniTrace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'PatchOat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:88:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 88 | RUNTIME_OPTIONS_KEY (std::string, PatchOat) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:88:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 88 | RUNTIME_OPTIONS_KEY (std::string, PatchOat) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Relocate' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:89:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 89 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:89:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 89 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Dex2Oat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | RUNTIME_OPTIONS_KEY (bool, Dex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | RUNTIME_OPTIONS_KEY (bool, Dex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageDex2Oat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:91:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 91 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:91:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 91 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Interpret' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (bool, Interpret, false) // -Xint | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (bool, Interpret, false) // -Xint | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'GcOption' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (XGcOption, GcOption) // -Xgc: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (XGcOption, GcOption) // -Xgc: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LargeObjectSpace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | RUNTIME_OPTIONS_KEY (gc::space::LargeObjectSpaceType, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | RUNTIME_OPTIONS_KEY (gc::space::LargeObjectSpaceType, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LargeObjectThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | RUNTIME_OPTIONS_KEY (Memory<1>, LargeObjectThreshold, gc::Heap::kDefaultLargeObjectThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | RUNTIME_OPTIONS_KEY (Memory<1>, LargeObjectThreshold, gc::Heap::kDefaultLargeObjectThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BackgroundGc' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | RUNTIME_OPTIONS_KEY (BackgroundGcOption, BackgroundGc) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | RUNTIME_OPTIONS_KEY (BackgroundGcOption, BackgroundGc) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DisableExplicitGC' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | RUNTIME_OPTIONS_KEY (Unit, DisableExplicitGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | RUNTIME_OPTIONS_KEY (Unit, DisableExplicitGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NoSigChain' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | RUNTIME_OPTIONS_KEY (Unit, NoSigChain) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | RUNTIME_OPTIONS_KEY (Unit, NoSigChain) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ForceNativeBridge' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:102:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 102 | RUNTIME_OPTIONS_KEY (Unit, ForceNativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:102:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 102 | RUNTIME_OPTIONS_KEY (Unit, ForceNativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Verbose' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | RUNTIME_OPTIONS_KEY (LogVerbosity, Verbose) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | RUNTIME_OPTIONS_KEY (LogVerbosity, Verbose) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LockProfThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | RUNTIME_OPTIONS_KEY (unsigned int, LockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | RUNTIME_OPTIONS_KEY (unsigned int, LockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackDumpLockProfThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseTombstonedTraces' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | RUNTIME_OPTIONS_KEY (bool, UseTombstonedTraces, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | RUNTIME_OPTIONS_KEY (bool, UseTombstonedTraces, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackTraceFile' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | RUNTIME_OPTIONS_KEY (std::string, StackTraceFile) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | RUNTIME_OPTIONS_KEY (std::string, StackTraceFile) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTrace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (Unit, MethodTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (Unit, MethodTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceFile' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | RUNTIME_OPTIONS_KEY (std::string, MethodTraceFile, "/data/misc/trace/method-trace-file.bin") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | RUNTIME_OPTIONS_KEY (std::string, MethodTraceFile, "/data/misc/trace/method-trace-file.bin") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceFileSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | RUNTIME_OPTIONS_KEY (unsigned int, MethodTraceFileSize, 10 * MB) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | RUNTIME_OPTIONS_KEY (unsigned int, MethodTraceFileSize, 10 * MB) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceStreaming' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | RUNTIME_OPTIONS_KEY (Unit, MethodTraceStreaming) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | RUNTIME_OPTIONS_KEY (Unit, MethodTraceStreaming) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ProfileClock' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | RUNTIME_OPTIONS_KEY (TraceClockSource, ProfileClock, kDefaultTraceClockSource) // -Xprofile: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | RUNTIME_OPTIONS_KEY (TraceClockSource, ProfileClock, kDefaultTraceClockSource) // -Xprofile: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ProfileSaverOpts' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | RUNTIME_OPTIONS_KEY (ProfileSaverOptions, ProfileSaverOpts) // -Xjitsaveprofilinginfo, -Xps-* | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | RUNTIME_OPTIONS_KEY (ProfileSaverOptions, ProfileSaverOpts) // -Xjitsaveprofilinginfo, -Xps-* | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Compiler' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | RUNTIME_OPTIONS_KEY (std::string, Compiler) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | RUNTIME_OPTIONS_KEY (std::string, Compiler) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CompilerOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageCompilerOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:117:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 117 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:117:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 117 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Verify' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:119:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 119 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:119:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 119 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NativeBridge' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:121:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 121 | RUNTIME_OPTIONS_KEY (std::string, NativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:121:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 121 | RUNTIME_OPTIONS_KEY (std::string, NativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ZygoteMaxFailedBoots' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:122:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 122 | RUNTIME_OPTIONS_KEY (unsigned int, ZygoteMaxFailedBoots, 10) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:122:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 122 | RUNTIME_OPTIONS_KEY (unsigned int, ZygoteMaxFailedBoots, 10) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NoDexFileFallback' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:123:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 123 | RUNTIME_OPTIONS_KEY (Unit, NoDexFileFallback) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:123:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 123 | RUNTIME_OPTIONS_KEY (Unit, NoDexFileFallback) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CpuAbiList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:124:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 124 | RUNTIME_OPTIONS_KEY (std::string, CpuAbiList) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:124:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 124 | RUNTIME_OPTIONS_KEY (std::string, CpuAbiList) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Fingerprint' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:125:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 125 | RUNTIME_OPTIONS_KEY (std::string, Fingerprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:125:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 125 | RUNTIME_OPTIONS_KEY (std::string, Fingerprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Experimental' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:126:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 126 | RUNTIME_OPTIONS_KEY (ExperimentalFlags, Experimental, ExperimentalFlags::kNone) // -Xexperimental:{...} | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:126:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 126 | RUNTIME_OPTIONS_KEY (ExperimentalFlags, Experimental, ExperimentalFlags::kNone) // -Xexperimental:{...} | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'AgentLib' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:127:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 127 | RUNTIME_OPTIONS_KEY (std::list, AgentLib) // -agentlib:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:127:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 127 | RUNTIME_OPTIONS_KEY (std::list, AgentLib) // -agentlib:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'AgentPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:128:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 128 | RUNTIME_OPTIONS_KEY (std::list, AgentPath) // -agentpath:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:128:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 128 | RUNTIME_OPTIONS_KEY (std::list, AgentPath) // -agentpath:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Plugins' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:129:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 129 | RUNTIME_OPTIONS_KEY (std::vector, Plugins) // -Xplugin: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:129:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 129 | RUNTIME_OPTIONS_KEY (std::vector, Plugins) // -Xplugin: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPathDexList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | RUNTIME_OPTIONS_KEY (std::vector>*, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | RUNTIME_OPTIONS_KEY (std::vector>*, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageInstructionSet' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | RUNTIME_OPTIONS_KEY (InstructionSet, ImageInstructionSet, kRuntimeISA) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | RUNTIME_OPTIONS_KEY (InstructionSet, ImageInstructionSet, kRuntimeISA) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CompilerCallbacksPtr' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | RUNTIME_OPTIONS_KEY (CompilerCallbacks*, CompilerCallbacksPtr) // TDOO: make unique_ptr | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | RUNTIME_OPTIONS_KEY (CompilerCallbacks*, CompilerCallbacksPtr) // TDOO: make unique_ptr | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookIsSensitiveThread' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | RUNTIME_OPTIONS_KEY (bool (*)(), HookIsSensitiveThread) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | RUNTIME_OPTIONS_KEY (bool (*)(), HookIsSensitiveThread) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookVfprintf' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | RUNTIME_OPTIONS_KEY (int32_t (*)(FILE* stream, const char* format, va_list ap), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | RUNTIME_OPTIONS_KEY (int32_t (*)(FILE* stream, const char* format, va_list ap), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookExit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | RUNTIME_OPTIONS_KEY (void (*)(int32_t status), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | RUNTIME_OPTIONS_KEY (void (*)(int32_t status), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookAbort' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | RUNTIME_OPTIONS_KEY (void (*)(), HookAbort, nullptr) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | RUNTIME_OPTIONS_KEY (void (*)(), HookAbort, nullptr) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'SlowDebug' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:148:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 148 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:148:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 148 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/array.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/art_method-inl.h:25: art/runtime/class_linker-inl.h: In static member function 'static bool art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, ClassGetter) [with bool kThrowOnError = true; ClassGetter = art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, uint32_t, art::ObjPtr)::]': art/runtime/class_linker-inl.h:116:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 116 | if (dex_cache->GetDexFile()->GetVersion() >= DexFile::kDefaultMethodsVersion) { | ^~ art/runtime/class_linker-inl.h:120:5: note: here 120 | case kVirtual: { | ^~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/method_handle_impl.h:22, from art/runtime/mirror/call_site.h:20, from art/runtime/mirror/call_site.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/mirror/class.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/call_site.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/java_vm_ext.cc: In member function 'bool art::JavaVMExt::LoadNativeLibrary(JNIEnv*, const std::string&, jobject, jstring, std::string*)': art/runtime/java_vm_ext.cc:796:43: warning: unused parameter 'library_path' [-Wunused-parameter] 796 | jstring library_path, | ~~~~~~~~^~~~~~~~~~~~ In file included from art/runtime/interpreter/shadow_frame.h:26, from art/runtime/managed_stack-inl.h:26, from art/runtime/managed_stack.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/interpreter/interpreter_common.h:40: art/runtime/dex_instruction-inl.h: In member function 'void art::Instruction::GetVarArgs(uint32_t*, uint16_t) const': art/runtime/dex_instruction-inl.h:537:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 537 | arg[4] = InstA(inst_data); | ~~~~~~~^~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:539:5: note: here 539 | case 4: | ^~~~ art/runtime/dex_instruction-inl.h:540:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 540 | arg[3] = (regList >> 12) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:542:5: note: here 542 | case 3: | ^~~~ art/runtime/dex_instruction-inl.h:543:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 543 | arg[2] = (regList >> 8) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:545:5: note: here 545 | case 2: | ^~~~ art/runtime/dex_instruction-inl.h:546:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 546 | arg[1] = (regList >> 4) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:548:5: note: here 548 | case 1: | ^~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart <= art/runtime/mirror/class_ext.cc In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/class.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25, from art/runtime/mirror/class.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/mirror/dex_cache.cc host C++: libart <= art/runtime/mirror/emulated_stack_frame.cc In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/class_ext.h:21, from art/runtime/mirror/class_ext-inl.h:20, from art/runtime/mirror/class_ext.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/jdwp/jdwp.h:25: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:25, from art/runtime/mirror/class_ext-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/mirror/dex_cache-inl.h:27, from art/runtime/mirror/dex_cache.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/mirror/executable.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/class-inl.h:20, from art/runtime/mirror/emulated_stack_frame.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28, from art/runtime/art_method-inl.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/mirror/executable.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/jit/jit.h:20, from art/runtime/interpreter/interpreter_common.h:43, from art/runtime/method_handles-inl.h:24, from art/runtime/mirror/emulated_stack_frame.cc:23: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ host C++: libart <= art/runtime/mirror/field.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/array.h:24: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/interpreter/interpreter.h:22: art/runtime/obj_ptr.h:190:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 190 | ALWAYS_INLINE bool operator!=(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/interpreter/shadow_frame.h:26, from art/runtime/method_handles.h:24: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/stack_map.h:23, from art/runtime/oat_quick_method_header.h:24, from art/runtime/jit/jit.cc:31: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/accessible_object.h:20, from art/runtime/mirror/field.h:20, from art/runtime/mirror/field-inl.h:20, from art/runtime/mirror/field.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/class_linker-inl.h: In static member function 'static bool art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, ClassGetter) [with bool kThrowOnError = true; ClassGetter = art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, uint32_t, art::ObjPtr)::]': art/runtime/class_linker-inl.h:116:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 116 | if (dex_cache->GetDexFile()->GetVersion() >= DexFile::kDefaultMethodsVersion) { | ^~ art/runtime/class_linker-inl.h:120:5: note: here 120 | case kVirtual: { | ^~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/indirect_reference_table.h:29, from art/runtime/jni_env_ext.h:24: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25, from art/runtime/mirror/field-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/enums.h:21, from art/runtime/mirror/array.h:20, from art/runtime/mirror/array-inl.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/method_handles.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/mirror/method_handle_impl.h:21: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/jvalue.h:25, from art/runtime/interpreter/interpreter_switch_impl.h:23: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/dex_file_types.h:21, from art/runtime/art_field.h:22, from art/runtime/mirror/method_handle_impl.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/jit/jit.cc:35: art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Zygote' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:37:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 37 | RUNTIME_OPTIONS_KEY (Unit, Zygote) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:37:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 37 | RUNTIME_OPTIONS_KEY (Unit, Zygote) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Help' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:38:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 38 | RUNTIME_OPTIONS_KEY (Unit, Help) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:38:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 38 | RUNTIME_OPTIONS_KEY (Unit, Help) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ShowVersion' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:39:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 39 | RUNTIME_OPTIONS_KEY (Unit, ShowVersion) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:39:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 39 | RUNTIME_OPTIONS_KEY (Unit, ShowVersion) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPath_a' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:41:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 41 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath_a) // -Xbootclasspath/a | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:41:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 41 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath_a) // -Xbootclasspath/a | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPathLocations' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:42:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 42 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPathLocations) // std::vector | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:42:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 42 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPathLocations) // std::vector | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ClassPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:43:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 43 | RUNTIME_OPTIONS_KEY (std::string, ClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:43:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 43 | RUNTIME_OPTIONS_KEY (std::string, ClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Image' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:44:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 44 | RUNTIME_OPTIONS_KEY (std::string, Image) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:44:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 44 | RUNTIME_OPTIONS_KEY (std::string, Image) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CheckJni' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:45:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 45 | RUNTIME_OPTIONS_KEY (Unit, CheckJni) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:45:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 45 | RUNTIME_OPTIONS_KEY (Unit, CheckJni) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JniOptsForceCopy' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:46:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 46 | RUNTIME_OPTIONS_KEY (Unit, JniOptsForceCopy) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:46:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 46 | RUNTIME_OPTIONS_KEY (Unit, JniOptsForceCopy) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JdwpOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:47:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 47 | RUNTIME_OPTIONS_KEY (JDWP::JdwpOptions, JdwpOptions) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:47:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 47 | RUNTIME_OPTIONS_KEY (JDWP::JdwpOptions, JdwpOptions) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MemoryMaximumSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:48:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 48 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryMaximumSize, gc::Heap::kDefaultMaximumSize) // -Xmx | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:48:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 48 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryMaximumSize, gc::Heap::kDefaultMaximumSize) // -Xmx | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MemoryInitialSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryInitialSize, gc::Heap::kDefaultInitialSize) // -Xms | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryInitialSize, gc::Heap::kDefaultInitialSize) // -Xms | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapGrowthLimit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapGrowthLimit) // Default is 0 for unlimited | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapGrowthLimit) // Default is 0 for unlimited | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapMinFree' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMinFree, gc::Heap::kDefaultMinFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMinFree, gc::Heap::kDefaultMinFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapMaxFree' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMaxFree, gc::Heap::kDefaultMaxFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMaxFree, gc::Heap::kDefaultMaxFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NonMovingSpaceCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | RUNTIME_OPTIONS_KEY (MemoryKiB, NonMovingSpaceCapacity, gc::Heap::kDefaultNonMovingSpaceCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | RUNTIME_OPTIONS_KEY (MemoryKiB, NonMovingSpaceCapacity, gc::Heap::kDefaultNonMovingSpaceCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapTargetUtilization' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | RUNTIME_OPTIONS_KEY (double, HeapTargetUtilization, gc::Heap::kDefaultTargetUtilization) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | RUNTIME_OPTIONS_KEY (double, HeapTargetUtilization, gc::Heap::kDefaultTargetUtilization) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ForegroundHeapGrowthMultiplier' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | RUNTIME_OPTIONS_KEY (double, ForegroundHeapGrowthMultiplier, gc::Heap::kDefaultHeapGrowthMultiplier) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | RUNTIME_OPTIONS_KEY (double, ForegroundHeapGrowthMultiplier, gc::Heap::kDefaultHeapGrowthMultiplier) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ParallelGCThreads' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | RUNTIME_OPTIONS_KEY (unsigned int, ParallelGCThreads, 0u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | RUNTIME_OPTIONS_KEY (unsigned int, ParallelGCThreads, 0u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ConcGCThreads' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (Memory<1>, StackSize) // -Xss | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (Memory<1>, StackSize) // -Xss | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MaxSpinsBeforeThinLockInflation' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:59:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 59 | RUNTIME_OPTIONS_KEY (unsigned int, MaxSpinsBeforeThinLockInflation,Monitor::kDefaultMaxSpinsBeforeThinLockInflation) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:59:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 59 | RUNTIME_OPTIONS_KEY (unsigned int, MaxSpinsBeforeThinLockInflation,Monitor::kDefaultMaxSpinsBeforeThinLockInflation) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LongPauseLogThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LongGCLogThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:62:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 62 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:62:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 62 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ThreadSuspendTimeout' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:64:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 64 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:64:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 64 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpGCPerformanceOnShutdown' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpJITInfoOnShutdown' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:67:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 67 | RUNTIME_OPTIONS_KEY (Unit, DumpJITInfoOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:67:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 67 | RUNTIME_OPTIONS_KEY (Unit, DumpJITInfoOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'IgnoreMaxFootprint' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, IgnoreMaxFootprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, IgnoreMaxFootprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LowMemoryMode' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:69:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 69 | RUNTIME_OPTIONS_KEY (Unit, LowMemoryMode) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:69:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 69 | RUNTIME_OPTIONS_KEY (Unit, LowMemoryMode) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseTLAB' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:70:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 70 | RUNTIME_OPTIONS_KEY (bool, UseTLAB, (kUseTlab || kUseReadBarrier)) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:70:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 70 | RUNTIME_OPTIONS_KEY (bool, UseTLAB, (kUseTlab || kUseReadBarrier)) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'EnableHSpaceCompactForOOM' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | RUNTIME_OPTIONS_KEY (bool, EnableHSpaceCompactForOOM, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | RUNTIME_OPTIONS_KEY (bool, EnableHSpaceCompactForOOM, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseJitCompilation' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpNativeStackOnSigQuit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | RUNTIME_OPTIONS_KEY (bool, DumpNativeStackOnSigQuit, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | RUNTIME_OPTIONS_KEY (bool, DumpNativeStackOnSigQuit, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MadviseRandomAccess' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | RUNTIME_OPTIONS_KEY (bool, MadviseRandomAccess, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | RUNTIME_OPTIONS_KEY (bool, MadviseRandomAccess, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCompileThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | RUNTIME_OPTIONS_KEY (unsigned int, JITCompileThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | RUNTIME_OPTIONS_KEY (unsigned int, JITCompileThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITWarmupThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (unsigned int, JITWarmupThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (unsigned int, JITWarmupThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITOsrThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | RUNTIME_OPTIONS_KEY (unsigned int, JITOsrThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | RUNTIME_OPTIONS_KEY (unsigned int, JITOsrThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITPriorityThreadWeight' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | RUNTIME_OPTIONS_KEY (unsigned int, JITPriorityThreadWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | RUNTIME_OPTIONS_KEY (unsigned int, JITPriorityThreadWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITInvokeTransitionWeight' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCodeCacheInitialCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheInitialCapacity, jit::JitCodeCache::kInitialCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheInitialCapacity, jit::JitCodeCache::kInitialCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCodeCacheMaxCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheMaxCapacity, jit::JitCodeCache::kMaxCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheMaxCapacity, jit::JitCodeCache::kMaxCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HSpaceCompactForOOMMinIntervalsMs' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'PropertiesList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JniTrace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'PatchOat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:88:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 88 | RUNTIME_OPTIONS_KEY (std::string, PatchOat) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:88:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 88 | RUNTIME_OPTIONS_KEY (std::string, PatchOat) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Relocate' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:89:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 89 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:89:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 89 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Dex2Oat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | RUNTIME_OPTIONS_KEY (bool, Dex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | RUNTIME_OPTIONS_KEY (bool, Dex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageDex2Oat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:91:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 91 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:91:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 91 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Interpret' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (bool, Interpret, false) // -Xint | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (bool, Interpret, false) // -Xint | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'GcOption' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (XGcOption, GcOption) // -Xgc: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (XGcOption, GcOption) // -Xgc: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LargeObjectSpace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | RUNTIME_OPTIONS_KEY (gc::space::LargeObjectSpaceType, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | RUNTIME_OPTIONS_KEY (gc::space::LargeObjectSpaceType, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LargeObjectThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | RUNTIME_OPTIONS_KEY (Memory<1>, LargeObjectThreshold, gc::Heap::kDefaultLargeObjectThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | RUNTIME_OPTIONS_KEY (Memory<1>, LargeObjectThreshold, gc::Heap::kDefaultLargeObjectThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BackgroundGc' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | RUNTIME_OPTIONS_KEY (BackgroundGcOption, BackgroundGc) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | RUNTIME_OPTIONS_KEY (BackgroundGcOption, BackgroundGc) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DisableExplicitGC' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | RUNTIME_OPTIONS_KEY (Unit, DisableExplicitGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | RUNTIME_OPTIONS_KEY (Unit, DisableExplicitGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NoSigChain' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | RUNTIME_OPTIONS_KEY (Unit, NoSigChain) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | RUNTIME_OPTIONS_KEY (Unit, NoSigChain) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ForceNativeBridge' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:102:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 102 | RUNTIME_OPTIONS_KEY (Unit, ForceNativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:102:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 102 | RUNTIME_OPTIONS_KEY (Unit, ForceNativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Verbose' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | RUNTIME_OPTIONS_KEY (LogVerbosity, Verbose) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | RUNTIME_OPTIONS_KEY (LogVerbosity, Verbose) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LockProfThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | RUNTIME_OPTIONS_KEY (unsigned int, LockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | RUNTIME_OPTIONS_KEY (unsigned int, LockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackDumpLockProfThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseTombstonedTraces' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | RUNTIME_OPTIONS_KEY (bool, UseTombstonedTraces, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | RUNTIME_OPTIONS_KEY (bool, UseTombstonedTraces, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackTraceFile' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | RUNTIME_OPTIONS_KEY (std::string, StackTraceFile) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | RUNTIME_OPTIONS_KEY (std::string, StackTraceFile) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTrace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (Unit, MethodTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (Unit, MethodTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceFile' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | RUNTIME_OPTIONS_KEY (std::string, MethodTraceFile, "/data/misc/trace/method-trace-file.bin") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | RUNTIME_OPTIONS_KEY (std::string, MethodTraceFile, "/data/misc/trace/method-trace-file.bin") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceFileSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | RUNTIME_OPTIONS_KEY (unsigned int, MethodTraceFileSize, 10 * MB) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | RUNTIME_OPTIONS_KEY (unsigned int, MethodTraceFileSize, 10 * MB) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceStreaming' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | RUNTIME_OPTIONS_KEY (Unit, MethodTraceStreaming) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | RUNTIME_OPTIONS_KEY (Unit, MethodTraceStreaming) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ProfileClock' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | RUNTIME_OPTIONS_KEY (TraceClockSource, ProfileClock, kDefaultTraceClockSource) // -Xprofile: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | RUNTIME_OPTIONS_KEY (TraceClockSource, ProfileClock, kDefaultTraceClockSource) // -Xprofile: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ProfileSaverOpts' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | RUNTIME_OPTIONS_KEY (ProfileSaverOptions, ProfileSaverOpts) // -Xjitsaveprofilinginfo, -Xps-* | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | RUNTIME_OPTIONS_KEY (ProfileSaverOptions, ProfileSaverOpts) // -Xjitsaveprofilinginfo, -Xps-* | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Compiler' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | RUNTIME_OPTIONS_KEY (std::string, Compiler) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | RUNTIME_OPTIONS_KEY (std::string, Compiler) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CompilerOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageCompilerOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:117:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 117 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:117:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 117 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Verify' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:119:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 119 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:119:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 119 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NativeBridge' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:121:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 121 | RUNTIME_OPTIONS_KEY (std::string, NativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:121:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 121 | RUNTIME_OPTIONS_KEY (std::string, NativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ZygoteMaxFailedBoots' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:122:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 122 | RUNTIME_OPTIONS_KEY (unsigned int, ZygoteMaxFailedBoots, 10) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:122:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 122 | RUNTIME_OPTIONS_KEY (unsigned int, ZygoteMaxFailedBoots, 10) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NoDexFileFallback' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:123:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 123 | RUNTIME_OPTIONS_KEY (Unit, NoDexFileFallback) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:123:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 123 | RUNTIME_OPTIONS_KEY (Unit, NoDexFileFallback) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CpuAbiList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:124:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 124 | RUNTIME_OPTIONS_KEY (std::string, CpuAbiList) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:124:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 124 | RUNTIME_OPTIONS_KEY (std::string, CpuAbiList) | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:25: art/runtime/class_linker-inl.h: In static member function 'static bool art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, ClassGetter) [with bool kThrowOnError = true; ClassGetter = art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, uint32_t, art::ObjPtr)::]': art/runtime/class_linker-inl.h:116:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 116 | if (dex_cache->GetDexFile()->GetVersion() >= DexFile::kDefaultMethodsVersion) { | ^~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Fingerprint' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:125:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 125 | RUNTIME_OPTIONS_KEY (std::string, Fingerprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/class_linker-inl.h:120:5: note: here 120 | case kVirtual: { | ^~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:125:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 125 | RUNTIME_OPTIONS_KEY (std::string, Fingerprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Experimental' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:126:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 126 | RUNTIME_OPTIONS_KEY (ExperimentalFlags, Experimental, ExperimentalFlags::kNone) // -Xexperimental:{...} | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:126:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 126 | RUNTIME_OPTIONS_KEY (ExperimentalFlags, Experimental, ExperimentalFlags::kNone) // -Xexperimental:{...} | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'AgentLib' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:127:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 127 | RUNTIME_OPTIONS_KEY (std::list, AgentLib) // -agentlib:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:127:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 127 | RUNTIME_OPTIONS_KEY (std::list, AgentLib) // -agentlib:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'AgentPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:128:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 128 | RUNTIME_OPTIONS_KEY (std::list, AgentPath) // -agentpath:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:128:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 128 | RUNTIME_OPTIONS_KEY (std::list, AgentPath) // -agentpath:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Plugins' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:129:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 129 | RUNTIME_OPTIONS_KEY (std::vector, Plugins) // -Xplugin: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:129:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 129 | RUNTIME_OPTIONS_KEY (std::vector, Plugins) // -Xplugin: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPathDexList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | RUNTIME_OPTIONS_KEY (std::vector>*, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | RUNTIME_OPTIONS_KEY (std::vector>*, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageInstructionSet' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | RUNTIME_OPTIONS_KEY (InstructionSet, ImageInstructionSet, kRuntimeISA) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | RUNTIME_OPTIONS_KEY (InstructionSet, ImageInstructionSet, kRuntimeISA) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CompilerCallbacksPtr' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | RUNTIME_OPTIONS_KEY (CompilerCallbacks*, CompilerCallbacksPtr) // TDOO: make unique_ptr | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | RUNTIME_OPTIONS_KEY (CompilerCallbacks*, CompilerCallbacksPtr) // TDOO: make unique_ptr | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookIsSensitiveThread' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | RUNTIME_OPTIONS_KEY (bool (*)(), HookIsSensitiveThread) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | RUNTIME_OPTIONS_KEY (bool (*)(), HookIsSensitiveThread) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookVfprintf' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | RUNTIME_OPTIONS_KEY (int32_t (*)(FILE* stream, const char* format, va_list ap), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | RUNTIME_OPTIONS_KEY (int32_t (*)(FILE* stream, const char* format, va_list ap), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookExit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | RUNTIME_OPTIONS_KEY (void (*)(int32_t status), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | RUNTIME_OPTIONS_KEY (void (*)(int32_t status), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookAbort' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | RUNTIME_OPTIONS_KEY (void (*)(), HookAbort, nullptr) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | RUNTIME_OPTIONS_KEY (void (*)(), HookAbort, nullptr) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'SlowDebug' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:148:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 148 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:148:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 148 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/mirror/method.cc In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/instrumentation.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/mirror/class.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack_map.h:23, from art/runtime/oat_quick_method_header.h:24, from art/runtime/cha.h:24, from art/runtime/jit/jit_code_cache.cc:27: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/enums.h:21, from art/runtime/mirror/array.h:20, from art/runtime/mirror/class_ext.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/accessible_object.h:20, from art/runtime/mirror/executable.h:20, from art/runtime/mirror/method.h:21, from art/runtime/mirror/method.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/mirror/method.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/utils.h:31, from art/runtime/base/histogram-inl.h:29: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/art_method.h:27, from art/runtime/mirror/dex_cache-inl.h:23: art/runtime/dex_file.h: At global scope: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/enums.h:21, from art/runtime/mirror/array.h:20, from art/runtime/mirror/dex_cache.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26, from art/runtime/mirror/array-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/art_method.h:23: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class_ext.h:22: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/dex_instruction.h:20, from art/runtime/mirror/emulated_stack_frame.h:20, from art/runtime/mirror/emulated_stack_frame.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/array.h:24: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/mirror/class.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/utils.h:31, from art/runtime/base/histogram-inl.h:29: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/jit/jit.h:25: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/mirror/method_handle_impl.cc In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/instrumentation.h:28, from art/runtime/jit/jit_code_cache.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/runtime/jni_internal.cc:27: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/mirror/method_handles_lookup.cc In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/method_handle_impl.h:22, from art/runtime/mirror/method_handle_impl-inl.h:20, from art/runtime/mirror/method_handle_impl.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/gc_root.h:21, from art/runtime/mirror/method.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:25, from art/runtime/mirror/method_handle_impl-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/mirror/method_type.cc In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/array.h:24: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/class-inl.h:20, from art/runtime/mirror/method_handles_lookup.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/class-inl.h:20, from art/runtime/mirror/method_type.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/mirror/object.cc In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26, from art/runtime/mirror/array-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/utils.h:31, from art/runtime/base/histogram-inl.h:29: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/method_type.h:20, from art/runtime/mirror/emulated_stack_frame.h:21: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/mirror/object.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/array.h:24: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/mirror/array.h:21: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Zygote' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:37:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 37 | RUNTIME_OPTIONS_KEY (Unit, Zygote) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:37:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 37 | RUNTIME_OPTIONS_KEY (Unit, Zygote) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Help' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:38:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 38 | RUNTIME_OPTIONS_KEY (Unit, Help) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:38:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 38 | RUNTIME_OPTIONS_KEY (Unit, Help) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ShowVersion' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:39:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 39 | RUNTIME_OPTIONS_KEY (Unit, ShowVersion) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:39:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 39 | RUNTIME_OPTIONS_KEY (Unit, ShowVersion) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPath_a' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:41:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 41 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath_a) // -Xbootclasspath/a | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:41:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 41 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath_a) // -Xbootclasspath/a | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPathLocations' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:42:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 42 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPathLocations) // std::vector | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:42:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 42 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPathLocations) // std::vector | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ClassPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:43:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 43 | RUNTIME_OPTIONS_KEY (std::string, ClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:43:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 43 | RUNTIME_OPTIONS_KEY (std::string, ClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Image' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:44:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 44 | RUNTIME_OPTIONS_KEY (std::string, Image) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:44:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 44 | RUNTIME_OPTIONS_KEY (std::string, Image) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CheckJni' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:45:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 45 | RUNTIME_OPTIONS_KEY (Unit, CheckJni) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:45:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 45 | RUNTIME_OPTIONS_KEY (Unit, CheckJni) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JniOptsForceCopy' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:46:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 46 | RUNTIME_OPTIONS_KEY (Unit, JniOptsForceCopy) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:46:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 46 | RUNTIME_OPTIONS_KEY (Unit, JniOptsForceCopy) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JdwpOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:47:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 47 | RUNTIME_OPTIONS_KEY (JDWP::JdwpOptions, JdwpOptions) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:47:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 47 | RUNTIME_OPTIONS_KEY (JDWP::JdwpOptions, JdwpOptions) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MemoryMaximumSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:48:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 48 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryMaximumSize, gc::Heap::kDefaultMaximumSize) // -Xmx | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:48:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 48 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryMaximumSize, gc::Heap::kDefaultMaximumSize) // -Xmx | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MemoryInitialSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryInitialSize, gc::Heap::kDefaultInitialSize) // -Xms | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryInitialSize, gc::Heap::kDefaultInitialSize) // -Xms | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapGrowthLimit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapGrowthLimit) // Default is 0 for unlimited | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapGrowthLimit) // Default is 0 for unlimited | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapMinFree' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMinFree, gc::Heap::kDefaultMinFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMinFree, gc::Heap::kDefaultMinFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapMaxFree' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMaxFree, gc::Heap::kDefaultMaxFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMaxFree, gc::Heap::kDefaultMaxFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NonMovingSpaceCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | RUNTIME_OPTIONS_KEY (MemoryKiB, NonMovingSpaceCapacity, gc::Heap::kDefaultNonMovingSpaceCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | RUNTIME_OPTIONS_KEY (MemoryKiB, NonMovingSpaceCapacity, gc::Heap::kDefaultNonMovingSpaceCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapTargetUtilization' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | RUNTIME_OPTIONS_KEY (double, HeapTargetUtilization, gc::Heap::kDefaultTargetUtilization) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | RUNTIME_OPTIONS_KEY (double, HeapTargetUtilization, gc::Heap::kDefaultTargetUtilization) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ForegroundHeapGrowthMultiplier' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | RUNTIME_OPTIONS_KEY (double, ForegroundHeapGrowthMultiplier, gc::Heap::kDefaultHeapGrowthMultiplier) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | RUNTIME_OPTIONS_KEY (double, ForegroundHeapGrowthMultiplier, gc::Heap::kDefaultHeapGrowthMultiplier) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ParallelGCThreads' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | RUNTIME_OPTIONS_KEY (unsigned int, ParallelGCThreads, 0u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | RUNTIME_OPTIONS_KEY (unsigned int, ParallelGCThreads, 0u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ConcGCThreads' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (Memory<1>, StackSize) // -Xss | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (Memory<1>, StackSize) // -Xss | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MaxSpinsBeforeThinLockInflation' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:59:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 59 | RUNTIME_OPTIONS_KEY (unsigned int, MaxSpinsBeforeThinLockInflation,Monitor::kDefaultMaxSpinsBeforeThinLockInflation) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:59:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 59 | RUNTIME_OPTIONS_KEY (unsigned int, MaxSpinsBeforeThinLockInflation,Monitor::kDefaultMaxSpinsBeforeThinLockInflation) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LongPauseLogThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LongGCLogThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:62:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 62 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:62:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 62 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ThreadSuspendTimeout' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:64:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 64 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:64:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 64 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpGCPerformanceOnShutdown' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpJITInfoOnShutdown' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:67:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 67 | RUNTIME_OPTIONS_KEY (Unit, DumpJITInfoOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:67:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 67 | RUNTIME_OPTIONS_KEY (Unit, DumpJITInfoOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'IgnoreMaxFootprint' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, IgnoreMaxFootprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, IgnoreMaxFootprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LowMemoryMode' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:69:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 69 | RUNTIME_OPTIONS_KEY (Unit, LowMemoryMode) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:69:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 69 | RUNTIME_OPTIONS_KEY (Unit, LowMemoryMode) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseTLAB' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:70:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 70 | RUNTIME_OPTIONS_KEY (bool, UseTLAB, (kUseTlab || kUseReadBarrier)) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:70:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 70 | RUNTIME_OPTIONS_KEY (bool, UseTLAB, (kUseTlab || kUseReadBarrier)) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'EnableHSpaceCompactForOOM' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | RUNTIME_OPTIONS_KEY (bool, EnableHSpaceCompactForOOM, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | RUNTIME_OPTIONS_KEY (bool, EnableHSpaceCompactForOOM, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseJitCompilation' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpNativeStackOnSigQuit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | RUNTIME_OPTIONS_KEY (bool, DumpNativeStackOnSigQuit, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | RUNTIME_OPTIONS_KEY (bool, DumpNativeStackOnSigQuit, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MadviseRandomAccess' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | RUNTIME_OPTIONS_KEY (bool, MadviseRandomAccess, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | RUNTIME_OPTIONS_KEY (bool, MadviseRandomAccess, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCompileThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | RUNTIME_OPTIONS_KEY (unsigned int, JITCompileThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | RUNTIME_OPTIONS_KEY (unsigned int, JITCompileThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITWarmupThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (unsigned int, JITWarmupThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (unsigned int, JITWarmupThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITOsrThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | RUNTIME_OPTIONS_KEY (unsigned int, JITOsrThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | RUNTIME_OPTIONS_KEY (unsigned int, JITOsrThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITPriorityThreadWeight' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | RUNTIME_OPTIONS_KEY (unsigned int, JITPriorityThreadWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | RUNTIME_OPTIONS_KEY (unsigned int, JITPriorityThreadWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITInvokeTransitionWeight' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCodeCacheInitialCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheInitialCapacity, jit::JitCodeCache::kInitialCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheInitialCapacity, jit::JitCodeCache::kInitialCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCodeCacheMaxCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheMaxCapacity, jit::JitCodeCache::kMaxCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheMaxCapacity, jit::JitCodeCache::kMaxCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HSpaceCompactForOOMMinIntervalsMs' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'PropertiesList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JniTrace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'PatchOat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:88:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 88 | RUNTIME_OPTIONS_KEY (std::string, PatchOat) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:88:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 88 | RUNTIME_OPTIONS_KEY (std::string, PatchOat) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Relocate' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:89:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 89 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:89:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 89 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Dex2Oat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | RUNTIME_OPTIONS_KEY (bool, Dex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | RUNTIME_OPTIONS_KEY (bool, Dex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageDex2Oat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:91:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 91 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:91:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 91 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Interpret' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (bool, Interpret, false) // -Xint | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (bool, Interpret, false) // -Xint | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'GcOption' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (XGcOption, GcOption) // -Xgc: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (XGcOption, GcOption) // -Xgc: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LargeObjectSpace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | RUNTIME_OPTIONS_KEY (gc::space::LargeObjectSpaceType, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | RUNTIME_OPTIONS_KEY (gc::space::LargeObjectSpaceType, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LargeObjectThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | RUNTIME_OPTIONS_KEY (Memory<1>, LargeObjectThreshold, gc::Heap::kDefaultLargeObjectThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | RUNTIME_OPTIONS_KEY (Memory<1>, LargeObjectThreshold, gc::Heap::kDefaultLargeObjectThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BackgroundGc' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | RUNTIME_OPTIONS_KEY (BackgroundGcOption, BackgroundGc) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | RUNTIME_OPTIONS_KEY (BackgroundGcOption, BackgroundGc) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DisableExplicitGC' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | RUNTIME_OPTIONS_KEY (Unit, DisableExplicitGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | RUNTIME_OPTIONS_KEY (Unit, DisableExplicitGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NoSigChain' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | RUNTIME_OPTIONS_KEY (Unit, NoSigChain) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | RUNTIME_OPTIONS_KEY (Unit, NoSigChain) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ForceNativeBridge' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:102:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 102 | RUNTIME_OPTIONS_KEY (Unit, ForceNativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:102:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 102 | RUNTIME_OPTIONS_KEY (Unit, ForceNativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Verbose' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | RUNTIME_OPTIONS_KEY (LogVerbosity, Verbose) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | RUNTIME_OPTIONS_KEY (LogVerbosity, Verbose) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LockProfThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | RUNTIME_OPTIONS_KEY (unsigned int, LockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | RUNTIME_OPTIONS_KEY (unsigned int, LockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackDumpLockProfThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseTombstonedTraces' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | RUNTIME_OPTIONS_KEY (bool, UseTombstonedTraces, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | RUNTIME_OPTIONS_KEY (bool, UseTombstonedTraces, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackTraceFile' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | RUNTIME_OPTIONS_KEY (std::string, StackTraceFile) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | RUNTIME_OPTIONS_KEY (std::string, StackTraceFile) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTrace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (Unit, MethodTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (Unit, MethodTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceFile' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | RUNTIME_OPTIONS_KEY (std::string, MethodTraceFile, "/data/misc/trace/method-trace-file.bin") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | RUNTIME_OPTIONS_KEY (std::string, MethodTraceFile, "/data/misc/trace/method-trace-file.bin") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceFileSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | RUNTIME_OPTIONS_KEY (unsigned int, MethodTraceFileSize, 10 * MB) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | RUNTIME_OPTIONS_KEY (unsigned int, MethodTraceFileSize, 10 * MB) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceStreaming' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | RUNTIME_OPTIONS_KEY (Unit, MethodTraceStreaming) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | RUNTIME_OPTIONS_KEY (Unit, MethodTraceStreaming) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ProfileClock' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | RUNTIME_OPTIONS_KEY (TraceClockSource, ProfileClock, kDefaultTraceClockSource) // -Xprofile: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | RUNTIME_OPTIONS_KEY (TraceClockSource, ProfileClock, kDefaultTraceClockSource) // -Xprofile: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ProfileSaverOpts' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | RUNTIME_OPTIONS_KEY (ProfileSaverOptions, ProfileSaverOpts) // -Xjitsaveprofilinginfo, -Xps-* | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | RUNTIME_OPTIONS_KEY (ProfileSaverOptions, ProfileSaverOpts) // -Xjitsaveprofilinginfo, -Xps-* | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Compiler' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | RUNTIME_OPTIONS_KEY (std::string, Compiler) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | RUNTIME_OPTIONS_KEY (std::string, Compiler) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CompilerOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageCompilerOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:117:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 117 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:117:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 117 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Verify' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:119:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 119 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:119:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 119 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NativeBridge' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:121:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 121 | RUNTIME_OPTIONS_KEY (std::string, NativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:121:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 121 | RUNTIME_OPTIONS_KEY (std::string, NativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ZygoteMaxFailedBoots' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:122:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 122 | RUNTIME_OPTIONS_KEY (unsigned int, ZygoteMaxFailedBoots, 10) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:122:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 122 | RUNTIME_OPTIONS_KEY (unsigned int, ZygoteMaxFailedBoots, 10) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NoDexFileFallback' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:123:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 123 | RUNTIME_OPTIONS_KEY (Unit, NoDexFileFallback) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:123:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 123 | RUNTIME_OPTIONS_KEY (Unit, NoDexFileFallback) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CpuAbiList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:124:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 124 | RUNTIME_OPTIONS_KEY (std::string, CpuAbiList) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:124:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 124 | RUNTIME_OPTIONS_KEY (std::string, CpuAbiList) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Fingerprint' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:125:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 125 | RUNTIME_OPTIONS_KEY (std::string, Fingerprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:125:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 125 | RUNTIME_OPTIONS_KEY (std::string, Fingerprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Experimental' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:126:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 126 | RUNTIME_OPTIONS_KEY (ExperimentalFlags, Experimental, ExperimentalFlags::kNone) // -Xexperimental:{...} | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:126:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 126 | RUNTIME_OPTIONS_KEY (ExperimentalFlags, Experimental, ExperimentalFlags::kNone) // -Xexperimental:{...} | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'AgentLib' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:127:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 127 | RUNTIME_OPTIONS_KEY (std::list, AgentLib) // -agentlib:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:127:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 127 | RUNTIME_OPTIONS_KEY (std::list, AgentLib) // -agentlib:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'AgentPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:128:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 128 | RUNTIME_OPTIONS_KEY (std::list, AgentPath) // -agentpath:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:128:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 128 | RUNTIME_OPTIONS_KEY (std::list, AgentPath) // -agentpath:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Plugins' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:129:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 129 | RUNTIME_OPTIONS_KEY (std::vector, Plugins) // -Xplugin: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:129:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 129 | RUNTIME_OPTIONS_KEY (std::vector, Plugins) // -Xplugin: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPathDexList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | RUNTIME_OPTIONS_KEY (std::vector>*, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | RUNTIME_OPTIONS_KEY (std::vector>*, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageInstructionSet' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | RUNTIME_OPTIONS_KEY (InstructionSet, ImageInstructionSet, kRuntimeISA) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | RUNTIME_OPTIONS_KEY (InstructionSet, ImageInstructionSet, kRuntimeISA) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CompilerCallbacksPtr' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | RUNTIME_OPTIONS_KEY (CompilerCallbacks*, CompilerCallbacksPtr) // TDOO: make unique_ptr | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | RUNTIME_OPTIONS_KEY (CompilerCallbacks*, CompilerCallbacksPtr) // TDOO: make unique_ptr | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookIsSensitiveThread' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | RUNTIME_OPTIONS_KEY (bool (*)(), HookIsSensitiveThread) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | RUNTIME_OPTIONS_KEY (bool (*)(), HookIsSensitiveThread) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookVfprintf' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | RUNTIME_OPTIONS_KEY (int32_t (*)(FILE* stream, const char* format, va_list ap), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | RUNTIME_OPTIONS_KEY (int32_t (*)(FILE* stream, const char* format, va_list ap), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookExit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | RUNTIME_OPTIONS_KEY (void (*)(int32_t status), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | RUNTIME_OPTIONS_KEY (void (*)(int32_t status), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookAbort' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | RUNTIME_OPTIONS_KEY (void (*)(), HookAbort, nullptr) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | RUNTIME_OPTIONS_KEY (void (*)(), HookAbort, nullptr) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'SlowDebug' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:148:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 148 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:148:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 148 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/jni_internal.cc: In constructor '{anonymous}::ScopedVAArgs::ScopedVAArgs(__va_list_tag (*)[1])': art/runtime/jni_internal.cc:66:34: warning: declaration of 'args' shadows a member of '{anonymous}::ScopedVAArgs' [-Wshadow] 66 | explicit ScopedVAArgs(va_list* args): args(args) {} | ~~~~~~~~~^~~~ art/runtime/jni_internal.cc:72:12: note: shadowed declaration is here 72 | va_list* args; | ^~~~ art/runtime/jni_internal.cc: In constructor '{anonymous}::ScopedVAArgs::ScopedVAArgs(__va_list_tag (*)[1])': art/runtime/jni_internal.cc:66:34: warning: declaration of 'args' shadows a member of '{anonymous}::ScopedVAArgs' [-Wshadow] 66 | explicit ScopedVAArgs(va_list* args): args(args) {} | ~~~~~~~~~^~~~ art/runtime/jni_internal.cc:72:12: note: shadowed declaration is here 72 | va_list* args; | ^~~~ art/runtime/jni_internal.cc: In constructor '{anonymous}::ScopedVAArgs::ScopedVAArgs(__va_list_tag (*)[1])': art/runtime/jni_internal.cc:66:34: warning: declaration of 'args' shadows a member of '{anonymous}::ScopedVAArgs' [-Wshadow] 66 | explicit ScopedVAArgs(va_list* args): args(args) {} | ~~~~~~~~~^~~~ art/runtime/jni_internal.cc:72:12: note: shadowed declaration is here 72 | va_list* args; | ^~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/mirror/reference.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/reference.h:23, from art/runtime/mirror/reference-inl.h:20, from art/runtime/mirror/reference.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method.h:27, from art/runtime/mirror/method_handle_impl.h:21: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/mirror/reference-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/dex_file_types.h:21, from art/runtime/art_field.h:22, from art/runtime/mirror/method_handle_impl.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/art_method-inl.h:32, from art/runtime/interpreter/interpreter_common.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/read_barrier.h:23, from art/runtime/interpreter/shadow_frame.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/mirror/stack_trace_element.cc In file included from art/runtime/interpreter/interpreter_common.h:37: art/runtime/common_dex_operations.h: At global scope: art/runtime/common_dex_operations.h:31:8: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, const art::DexFile::CodeItem*, art::ShadowFrame*, art::JValue*)' in same scope [-Wredundant-decls] 31 | void ArtInterpreterToInterpreterBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/interpreter/interpreter_common.h:20: art/runtime/interpreter/interpreter.h:55:6: note: previous declaration of 'void art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, const art::DexFile::CodeItem*, art::ShadowFrame*, art::JValue*)' 55 | void ArtInterpreterToInterpreterBridge(Thread* self, const DexFile::CodeItem* code_item, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/runtime/atomic.h:23, from art/runtime/mirror/object.h:20, from art/runtime/mirror/method_type.h:20, from art/runtime/mirror/method_type.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/obj_ptr.h:20, from art/runtime/mirror/method_handles_lookup.h:20, from art/runtime/mirror/method_handles_lookup.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/method.cc:21: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/runtime/atomic.h:23, from art/runtime/mirror/object.h:20, from art/runtime/mirror/object.cc:19: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/stack_trace_element.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/class-inl.h:31: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/stack_trace_element.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/stack_map.h:23, from art/runtime/entrypoints/entrypoint_utils-inl.h:41, from art/runtime/interpreter/interpreter_common.h:41: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/array.h:21: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/runtime/mirror/class.cc:22: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:26: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ host C++: libart <= art/runtime/mirror/string.cc In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/runtime/mirror/dex_cache.cc:19: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/array.h:21: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/class_table.h:25, from art/runtime/class_table-inl.h:20, from art/runtime/mirror/class_loader-inl.h:22, from art/runtime/mirror/object-refvisitor-inl.h:22, from art/runtime/mirror/class.cc:35: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/string-inl.h:25, from art/runtime/mirror/string.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/mirror/array.h:21: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/string-inl.h:27: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/runtime/interpreter/interpreter_common.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/string.h:20, from art/runtime/mirror/method_type.h:21: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/enums.h:21, from art/runtime/mirror/reference.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/interpreter/interpreter_common.h:37: art/runtime/common_dex_operations.h: At global scope: art/runtime/common_dex_operations.h:31:8: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, const art::DexFile::CodeItem*, art::ShadowFrame*, art::JValue*)' in same scope [-Wredundant-decls] 31 | void ArtInterpreterToInterpreterBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/interpreter/interpreter_common.h:20: art/runtime/interpreter/interpreter.h:55:6: note: previous declaration of 'void art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, const art::DexFile::CodeItem*, art::ShadowFrame*, art::JValue*)' 55 | void ArtInterpreterToInterpreterBridge(Thread* self, const DexFile::CodeItem* code_item, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/interpreter/interpreter_common.h:531:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 531 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:37:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 37 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/mirror/throwable.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/method_handles.h:23: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/method_handles_lookup.h:22: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/stack_map.h:23, from art/runtime/entrypoints/entrypoint_utils-inl.h:41, from art/runtime/interpreter/interpreter_common.h:41: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/mirror/throwable.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:190:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 190 | ALWAYS_INLINE bool operator!=(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/monitor.cc In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/gc_root.h:21, from art/runtime/mirror/stack_trace_element.h:20, from art/runtime/mirror/stack_trace_element.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/monitor.cc:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/monitor.cc:26: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] host C++: libart <= art/runtime/native_bridge_art_interface.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/mirror/class.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ host C++: libart <= art/runtime/native_stack_dump.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/gc_root.h:21, from art/runtime/mirror/string.h:20, from art/runtime/mirror/string-inl.h:19: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/interpreter/interpreter_common.h:531:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 531 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:37:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 37 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/native_bridge_art_interface.cc:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/native_stack_dump.cc:48: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/native/dalvik_system_DexFile.cc In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 123 | ALWAYS_INLINE bool DoFieldPutCommon(Thread* self, | ^~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:123:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:65:27: warning: 'always_inline' function might not be inlinable [-Wattributes] 65 | static ALWAYS_INLINE bool DoFieldGetCommon(Thread* self, | ^~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:65:27: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:65:27: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:65:27: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:65:27: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:65:27: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/common_dex_operations.h:65:27: warning: 'always_inline' function might not be inlinable [-Wattributes] In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h:190:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 190 | ALWAYS_INLINE bool operator!=(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/art_method-inl.h:25: art/runtime/class_linker-inl.h: In static member function 'static bool art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, ClassGetter) [with bool kThrowOnError = true; ClassGetter = art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, uint32_t, art::ObjPtr)::]': art/runtime/class_linker-inl.h:116:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 116 | if (dex_cache->GetDexFile()->GetVersion() >= DexFile::kDefaultMethodsVersion) { | ^~ art/runtime/class_linker-inl.h:120:5: note: here 120 | case kVirtual: { | ^~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/native/dalvik_system_DexFile.cc:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:33: art/runtime/primitive.h: In static member function 'static constexpr bool art::Primitive::IsNumericType(Type)': art/runtime/primitive.h:179:3: warning: control reaches end of non-void function [-Wreturn-type] 179 | } | ^ art/runtime/method_handles.cc: In function 'bool art::{anonymous}::DoFieldPutForInvokePolymorphic(art::Thread*, art::ShadowFrame&, art::ObjPtr&, art::ArtField*, art::Primitive::Type, art::JValue&)': art/runtime/method_handles.cc:859:1: warning: control reaches end of non-void function [-Wreturn-type] 859 | } | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28, from art/runtime/mirror/object-inl.h:25, from art/runtime/native/dalvik_system_DexFile.cc:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart <= art/runtime/native/dalvik_system_VMDebug.cc In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/gc_root.h:21, from art/runtime/mirror/throwable.h:20, from art/runtime/mirror/throwable.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/stack_trace_element.h:21: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/native/dalvik_system_VMDebug.cc:26: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/native/dalvik_system_VMDebug.cc:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/debugger.h:37, from art/runtime/native/dalvik_system_VMDebug.cc:30: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ host C++: libart <= art/runtime/native/dalvik_system_VMRuntime.cc In file included from art/runtime/mirror/object.h:24: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/string.h:22: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/list:62, from art/runtime/monitor.h:26, from art/runtime/monitor.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:25: art/runtime/class_linker-inl.h: In static member function 'static bool art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, ClassGetter) [with bool kThrowOnError = true; ClassGetter = art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, uint32_t, art::ObjPtr)::]': art/runtime/class_linker-inl.h:116:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 116 | if (dex_cache->GetDexFile()->GetVersion() >= DexFile::kDefaultMethodsVersion) { | ^~ art/runtime/class_linker-inl.h:120:5: note: here 120 | case kVirtual: { | ^~~~ In file included from art/runtime/art_method.h:27, from art/runtime/native_stack_dump.cc:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/native/dalvik_system_VMStack.cc In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/native/dalvik_system_VMRuntime.cc:34: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/native/dalvik_system_ZygoteHooks.cc In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/native/java_lang_Class.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/native/java_lang_Object.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/native/dalvik_system_VMStack.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/stack_map.h:23, from art/runtime/oat_quick_method_header.h:24, from art/runtime/native_stack_dump.cc:46: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/native_stack_dump.cc:19: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/native/dalvik_system_ZygoteHooks.cc:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/native/java_lang_Class.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/native_bridge_art_interface.h:22, from art/runtime/native_bridge_art_interface.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:25, from art/runtime/native/java_lang_Object.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/class_table.h:25, from art/runtime/class_table-inl.h:20, from art/runtime/mirror/class_loader-inl.h:22, from art/runtime/mirror/object-refvisitor-inl.h:22, from art/runtime/mirror/object.cc:33: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/native/dalvik_system_ZygoteHooks.cc:27: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/runtime/mirror/class_ext-inl.h:22, from art/runtime/mirror/class-refvisitor-inl.h:23, from art/runtime/mirror/object-refvisitor-inl.h:23: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/mirror/object.cc:21: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/object.h:24: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/istream:40, from /usr/include/c++/13.2.1/sstream:40, from art/runtime/native/dalvik_system_DexFile.cc:19: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/string.cc:23: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/throwable.h:21: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/native/java_lang_String.cc In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/object.h:24: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from libnativehelper/include/nativehelper/toStringArray.h:23, from art/runtime/native/dalvik_system_VMRuntime.cc:29: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/istream:40, from /usr/include/c++/13.2.1/sstream:40, from art/runtime/native/dalvik_system_VMDebug.cc:22: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/mirror/object-inl.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:25, from art/runtime/native/java_lang_String.cc:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/native/java_lang_StringFactory.cc In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/runtime/atomic.h:23, from art/runtime/mirror/object.h:20, from art/runtime/mirror/object-inl.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/art_method.h:23: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from /usr/include/c++/13.2.1/iostream:41, from art/runtime/native/java_lang_Class.cc:19: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from libbase/include/android-base/stringprintf.h:21, from art/runtime/native/dalvik_system_ZygoteHooks.cc:21: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:25, from art/runtime/native/java_lang_StringFactory.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/intern_table.h:24, from art/runtime/mirror/string.cc:27: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/native/java_lang_System.cc In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/native/java_lang_System.cc:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/gc/space/space-inl.h:24, from art/runtime/native/dalvik_system_VMDebug.cc:34: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31, from art/runtime/native/java_lang_System.cc:26: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/array-inl.h:28, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/native/dalvik_system_VMDebug.cc:41: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] host C++: libart <= art/runtime/native/java_lang_Thread.cc In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/native/java_lang_Throwable.cc In file included from art/runtime/art_method.h:27, from art/runtime/mirror/object-inl.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/native/java_lang_VMClassLoader.cc In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/common_throws.h:20, from art/runtime/native/java_lang_String.cc:21: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/scoped_thread_state_change-inl.h:24, from art/runtime/native/scoped_fast_native_object_access-inl.h:23, from art/runtime/native/java_lang_Thread.cc:26: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/mutex-inl.h:25, from art/runtime/thread-inl.h:23, from art/runtime/scoped_thread_state_change-inl.h:26: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/scoped_thread_state_change-inl.h:24, from art/runtime/native/scoped_fast_native_object_access-inl.h:23, from art/runtime/native/java_lang_Throwable.cc:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/mutex-inl.h:25, from art/runtime/thread-inl.h:23, from art/runtime/scoped_thread_state_change-inl.h:26: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/monitor.h:32: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/native/java_lang_VMClassLoader.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/native/java_lang_Void.cc In file included from art/runtime/art_method.h:27, from art/runtime/mirror/object-inl.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28, from art/runtime/mirror/object-inl.h:25, from art/runtime/native/java_lang_VMClassLoader.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/common_throws.h:20, from art/runtime/native/java_lang_StringFactory.cc:19: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/native/java_lang_Void.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/common_throws.h:20, from art/runtime/native/java_lang_System.cc:21: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/base/scoped_arena_containers.h:27, from art/runtime/verifier/method_verifier.h:26, from art/runtime/monitor.cc:39: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26, from art/runtime/mirror/array-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/array.h:24, from art/runtime/native/java_lang_String.cc:23: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/native/scoped_fast_native_object_access-inl.h:22: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart <= art/runtime/native/java_lang_invoke_MethodHandleImpl.cc In file included from art/runtime/art_method.h:27, from art/runtime/native/scoped_fast_native_object_access-inl.h:22: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/handle_scope-inl.h:24, from art/runtime/native/java_lang_invoke_MethodHandleImpl.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object-inl.h:20: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/accessible_object.h:20, from art/runtime/mirror/field.h:20, from art/runtime/mirror/field-inl.h:20, from art/runtime/native/java_lang_invoke_MethodHandleImpl.cc:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/stl_tree.h:63, from /usr/include/c++/13.2.1/set:62, from art/runtime/class_linker.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/native/java_lang_ref_FinalizerReference.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/monitor.cc:299:6: warning: 'always_inline' function might not be inlinable [-Wattributes] 299 | void Monitor::AtraceMonitorUnlock() { | ^~~~~~~ art/runtime/monitor.cc:265:6: warning: 'always_inline' function might not be inlinable [-Wattributes] 265 | void Monitor::AtraceMonitorLock(Thread* self, mirror::Object* obj, bool is_wait) { | ^~~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:25, from art/runtime/native/java_lang_ref_FinalizerReference.cc:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/dex_file_types.h:21, from art/runtime/art_field.h:22, from art/runtime/class_linker-inl.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/array.h:24, from art/runtime/native/java_lang_System.cc:24: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/utils.h:31, from art/runtime/base/histogram-inl.h:29: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:33: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ host C++: libart <= art/runtime/native/java_lang_ref_Reference.cc In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/native/dalvik_system_VMRuntime.cc:46: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/intern_table.h:24, from art/runtime/native/dalvik_system_VMRuntime.cc:48: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/runtime/native/java_lang_Class.cc:22: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:25, from art/runtime/native/java_lang_ref_Reference.cc:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:33: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/object.h:24: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/native/java_lang_invoke_MethodHandleImpl.cc:21: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/native/java_lang_reflect_Array.cc host C++: libart <= art/runtime/native/java_lang_reflect_Constructor.cc In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/native/java_lang_reflect_Array.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/native/java_lang_reflect_Constructor.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/art_method.h:23: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/native/java_lang_reflect_Executable.cc host C++: libart <= art/runtime/native/java_lang_reflect_Field.cc In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/native/java_lang_reflect_Executable.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/native/java_lang_reflect_Field.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart <= art/runtime/native/java_lang_reflect_Method.cc In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/mirror/object-inl.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/native/java_lang_reflect_Parameter.cc In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/gc/heap.h:21, from art/runtime/native/java_lang_ref_FinalizerReference.cc:21: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/native/java_lang_reflect_Method.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/native/java_lang_reflect_Proxy.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/common_throws.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/native/java_lang_reflect_Parameter.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/native/java_util_concurrent_atomic_AtomicLong.cc In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/native/java_lang_reflect_Proxy.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/scoped_thread_state_change-inl.h:24, from art/runtime/native/scoped_fast_native_object_access-inl.h:23, from art/runtime/native/java_lang_reflect_Proxy.cc:27: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method.h:27, from art/runtime/mirror/object-inl.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/gc/heap.h:21, from art/runtime/native/java_lang_ref_Reference.cc:21: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/common_throws.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/common_throws.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:190:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 190 | ALWAYS_INLINE bool operator!=(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object-inl.h:20: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/native/libcore_util_CharsetUtils.cc In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/native/org_apache_harmony_dalvik_ddmc_DdmServer.cc In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/dex_file_types.h:21, from art/runtime/art_field.h:22, from art/runtime/class_linker-inl.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/string-inl.h:25, from art/runtime/native/libcore_util_CharsetUtils.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/art_method.h:23: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28, from art/runtime/mirror/field-inl.h:22: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/debugger.h:31, from art/runtime/native/org_apache_harmony_dalvik_ddmc_DdmServer.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/string-inl.h:27: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/debugger.h:37: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object-inl.h:20: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from libbase/include/android-base/stringprintf.h:21, from art/runtime/native/java_lang_reflect_Executable.cc:19: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from libbase/include/android-base/stringprintf.h:21, from art/runtime/native/java_lang_reflect_Field.cc:19: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/debugger.h:31, from art/runtime/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/debugger.h:37: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/native/sun_misc_Unsafe.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/non_debuggable_classes.cc In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/art_method.h:23: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/class-inl.h:20, from art/runtime/native/sun_misc_Unsafe.cc:30: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:33: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from libbase/include/android-base/stringprintf.h:21, from art/runtime/native/java_lang_reflect_Parameter.cc:19: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/stl_tree.h:63, from /usr/include/c++/13.2.1/set:62, from art/runtime/class_linker.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/class-inl.h:20, from art/runtime/non_debuggable_classes.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/class_linker.cc: In member function 'art::mirror::MethodHandle* art::ClassLinker::ResolveMethodHandleForField(art::Thread*, const art::DexFile::MethodHandleItem&, art::ArtMethod*)': art/runtime/class_linker.cc:8382:42: warning: 'kind' may be used uninitialized [-Wmaybe-uninitialized] 8382 | return mirror::MethodHandleImpl::Create(self, target, kind, method_type); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/class_linker.cc:8271:30: note: 'kind' was declared here 8271 | mirror::MethodHandle::Kind kind; | ^~~~ In member function 'art::ArtField* art::ClassLinker::ResolveField(uint32_t, art::ArtMethod*, bool)', inlined from 'art::mirror::MethodHandle* art::ClassLinker::ResolveMethodHandleForField(art::Thread*, const art::DexFile::MethodHandleItem&, art::ArtMethod*)' at art/runtime/class_linker.cc:8308:19: art/runtime/class_linker-inl.h:300:34: warning: 'is_static' may be used uninitialized [-Wmaybe-uninitialized] 300 | resolved_field = ResolveField(dex_file, field_idx, dex_cache, class_loader, is_static); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/class_linker.cc: In member function 'art::mirror::MethodHandle* art::ClassLinker::ResolveMethodHandleForField(art::Thread*, const art::DexFile::MethodHandleItem&, art::ArtMethod*)': art/runtime/class_linker.cc:8272:8: note: 'is_static' was declared here 8272 | bool is_static; | ^~~~~~~~~ In file included from art/runtime/mirror/object-inl.h:32: In static member function 'static art::mirror::ObjectArray* art::mirror::ObjectArray::Alloc(art::Thread*, art::ObjPtr, int32_t) [with T = art::mirror::Class]', inlined from 'art::mirror::MethodHandle* art::ClassLinker::ResolveMethodHandleForField(art::Thread*, const art::DexFile::MethodHandleItem&, art::ArtMethod*)' at art/runtime/class_linker.cc:8324:72: art/runtime/mirror/object_array-inl.h:60:15: warning: 'num_params' may be used uninitialized [-Wmaybe-uninitialized] 60 | return Alloc(self, | ~~~~~^~~~~~ 61 | object_array_class, | ~~~~~~~~~~~~~~~~~~~ 62 | length, | ~~~~~~~ 63 | Runtime::Current()->GetHeap()->GetCurrentAllocator()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/class_linker.cc: In member function 'art::mirror::MethodHandle* art::ClassLinker::ResolveMethodHandleForField(art::Thread*, const art::DexFile::MethodHandleItem&, art::ArtMethod*)': art/runtime/class_linker.cc:8273:11: note: 'num_params' was declared here 8273 | int32_t num_params; | ^~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ host C++: libart <= art/runtime/oat.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ host C++: libart <= art/runtime/oat_file.cc In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/gc_root.h:21, from art/runtime/mirror/string.h:20, from art/runtime/mirror/string-inl.h:19: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/oat_file_assistant.cc In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/native/org_apache_harmony_dalvik_ddmc_DdmServer.cc:19: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/oat_file.h:31, from art/runtime/oat_file.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/oat_file.h:31, from art/runtime/oat_file_assistant.h:30, from art/runtime/oat_file_assistant.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/oat_file.cc:41: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28, from art/runtime/mirror/object-inl.h:25, from art/runtime/oat_file.cc:50: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/scoped_thread_state_change-inl.h:24, from art/runtime/oat_file_assistant.cc:37: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/oat_file_manager.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/oat_quick_method_header.cc In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/handle_scope-inl.h:20: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/oat_file_manager.cc:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc:19: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/handle.h:20, from art/runtime/gc/heap.h:36: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/object_lock.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/scoped_thread_state_change-inl.h:24, from art/runtime/oat_quick_method_header.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/mutex-inl.h:25, from art/runtime/thread-inl.h:23, from art/runtime/scoped_thread_state_change-inl.h:26: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/offsets.cc In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/oat_file_manager.cc:29: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:25, from art/runtime/object_lock.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/oat.h:25, from art/runtime/oat.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/runtime/non_debuggable_classes.h:20, from art/runtime/non_debuggable_classes.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/common_throws.h:20, from art/runtime/native/sun_misc_Unsafe.cc:26: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/os_linux.cc In file included from art/runtime/handle.h:20, from art/runtime/gc/heap.h:36: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/art_method.h:28: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/string.h:22: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/parsed_options.cc host C++: libart <= art/runtime/plugin.cc In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart <= art/runtime/primitive.cc In file included from art/runtime/oat_file.h:28: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/runtime_options.h:30, from art/runtime/parsed_options.h:30, from art/runtime/parsed_options.cc:17: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/base/length_prefixed_array.h:23, from art/runtime/method_bss_mapping.h:21, from art/runtime/oat_file.h:30: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/list:62, from art/runtime/oat_file.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/oat_file.h:31, from art/runtime/jit/jit_code_cache.h:31, from art/runtime/runtime_options.h:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/parsed_options.cc:24: warning: "_GNU_SOURCE" redefined 24 | #define _GNU_SOURCE | : note: this is the location of the previous definition In file included from art/runtime/stack_map.h:23, from art/runtime/oat_quick_method_header.h:24, from art/runtime/oat_quick_method_header.cc:17: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/arch/instruction_set.h:21, from art/runtime/oat_quick_method_header.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/debugger.h:37, from art/runtime/parsed_options.cc:29: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/oat_file.h:28: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/runtime/method_bss_mapping.h:21, from art/runtime/oat_file.h:30: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/oat_file_assistant.h:21: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/stack_map.h:26: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/oat_file_manager.h:20, from art/runtime/oat_file_manager.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/quick_exception_handler.cc In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/read_barrier.cc host C++: libart <= art/runtime/reference_table.cc In file included from art/runtime/art_method.h:27, from art/runtime/mirror/object-inl.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/object_lock.h:21, from art/runtime/object_lock.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/reflection.cc In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/array.h:24, from art/runtime/native/sun_misc_Unsafe.cc:29: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/quick_exception_handler.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/array-inl.h:27, from art/runtime/reference_table.cc:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/oat_file.cc:38: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/jit/jit.h:20, from art/runtime/quick_exception_handler.cc:27: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:25, from art/runtime/reflection-inl.h:26, from art/runtime/reflection.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/runtime.cc In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ host C++: libart <= art/runtime/runtime_callbacks.cc host C++: libart <= art/runtime/runtime_common.cc In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ art/runtime/runtime.cc:41: warning: "_GNU_SOURCE" redefined 41 | #define _GNU_SOURCE | : note: this is the location of the previous definition In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/aot_class_linker.h:20, from art/runtime/runtime.cc:46: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25, from art/runtime/runtime.cc:60: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/runtime_common.cc:33: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/runtime_callbacks.cc:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/asm_support_check.h:26, from art/runtime/runtime.cc:63: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/runtime_callbacks.cc:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/runtime.cc:69: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ host C++: libart <= art/runtime/runtime_options.cc In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/oat_file_assistant.cc:32: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/jit/jit.h:20, from art/runtime/runtime_options.h:30, from art/runtime/runtime_options.cc:17: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/oat_file.h:31, from art/runtime/jit/jit_code_cache.h:31, from art/runtime/runtime_options.h:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/scoped_thread_state_change.cc In file included from art/runtime/debugger.h:37, from art/runtime/runtime_options.cc:27: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/scoped_thread_state_change.cc:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/native/java_lang_reflect_Field.cc: In function 'void art::SetFieldValue(ObjPtr, ObjPtr, Primitive::Type, bool, const JValue&)': art/runtime/native/java_lang_reflect_Field.cc:306:5: warning: this statement may fall through [-Wimplicit-fallthrough=] 306 | if (allow_references) { | ^~ art/runtime/native/java_lang_reflect_Field.cc:316:3: note: here 316 | case Primitive::kPrimVoid: | ^~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/parsed_options.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object-inl.h:20: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/gc/space/region_space.h:23, from art/runtime/gc/collector/concurrent_copying-inl.h:25, from art/runtime/read_barrier-inl.h:23, from art/runtime/gc_root-inl.h:25, from art/runtime/runtime-inl.h:24, from art/runtime/scoped_thread_state_change.cc:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/signal_catcher.cc In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/signal_catcher.cc:34: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/jit/jit_code_cache.h:24, from art/runtime/jit/profile_saver.h:21, from art/runtime/signal_catcher.cc:36: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/reference_table.h:22, from art/runtime/reference_table.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/scoped_thread_state_change-inl.h:24, from art/runtime/signal_catcher.cc:39: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/jit/profile_compilation_info.h:28: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/mirror/object-inl.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/stack.cc In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/quick_exception_handler.h:20, from art/runtime/quick_exception_handler.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/reflection.h:20, from art/runtime/reflection-inl.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/stack_map.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/stack.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/runtime_callbacks.h:24, from art/runtime/runtime_callbacks.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/runtime/method_bss_mapping.h:21, from art/runtime/oat_file.h:30: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/scoped_thread_state_change-inl.h:24, from art/runtime/stack_map.cc:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/base/mutex-inl.h:25, from art/runtime/thread-inl.h:23, from art/runtime/scoped_thread_state_change-inl.h:26: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/jit/jit.h:20, from art/runtime/stack.cc:31: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/runtime/runtime_callbacks.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/thread.cc art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Zygote' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:37:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 37 | RUNTIME_OPTIONS_KEY (Unit, Zygote) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:37:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 37 | RUNTIME_OPTIONS_KEY (Unit, Zygote) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Help' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:38:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 38 | RUNTIME_OPTIONS_KEY (Unit, Help) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:38:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 38 | RUNTIME_OPTIONS_KEY (Unit, Help) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ShowVersion' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:39:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 39 | RUNTIME_OPTIONS_KEY (Unit, ShowVersion) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:39:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 39 | RUNTIME_OPTIONS_KEY (Unit, ShowVersion) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPath_a' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:41:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 41 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath_a) // -Xbootclasspath/a | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:41:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 41 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath_a) // -Xbootclasspath/a | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPathLocations' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:42:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 42 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPathLocations) // std::vector | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:42:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 42 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPathLocations) // std::vector | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ClassPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:43:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 43 | RUNTIME_OPTIONS_KEY (std::string, ClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:43:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 43 | RUNTIME_OPTIONS_KEY (std::string, ClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Image' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:44:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 44 | RUNTIME_OPTIONS_KEY (std::string, Image) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:44:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 44 | RUNTIME_OPTIONS_KEY (std::string, Image) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CheckJni' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:45:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 45 | RUNTIME_OPTIONS_KEY (Unit, CheckJni) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:45:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 45 | RUNTIME_OPTIONS_KEY (Unit, CheckJni) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JniOptsForceCopy' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:46:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 46 | RUNTIME_OPTIONS_KEY (Unit, JniOptsForceCopy) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:46:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 46 | RUNTIME_OPTIONS_KEY (Unit, JniOptsForceCopy) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JdwpOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:47:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 47 | RUNTIME_OPTIONS_KEY (JDWP::JdwpOptions, JdwpOptions) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:47:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 47 | RUNTIME_OPTIONS_KEY (JDWP::JdwpOptions, JdwpOptions) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MemoryMaximumSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:48:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 48 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryMaximumSize, gc::Heap::kDefaultMaximumSize) // -Xmx | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:48:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 48 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryMaximumSize, gc::Heap::kDefaultMaximumSize) // -Xmx | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MemoryInitialSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryInitialSize, gc::Heap::kDefaultInitialSize) // -Xms | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryInitialSize, gc::Heap::kDefaultInitialSize) // -Xms | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapGrowthLimit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapGrowthLimit) // Default is 0 for unlimited | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapGrowthLimit) // Default is 0 for unlimited | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapMinFree' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMinFree, gc::Heap::kDefaultMinFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMinFree, gc::Heap::kDefaultMinFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapMaxFree' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMaxFree, gc::Heap::kDefaultMaxFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMaxFree, gc::Heap::kDefaultMaxFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NonMovingSpaceCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | RUNTIME_OPTIONS_KEY (MemoryKiB, NonMovingSpaceCapacity, gc::Heap::kDefaultNonMovingSpaceCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | RUNTIME_OPTIONS_KEY (MemoryKiB, NonMovingSpaceCapacity, gc::Heap::kDefaultNonMovingSpaceCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapTargetUtilization' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | RUNTIME_OPTIONS_KEY (double, HeapTargetUtilization, gc::Heap::kDefaultTargetUtilization) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | RUNTIME_OPTIONS_KEY (double, HeapTargetUtilization, gc::Heap::kDefaultTargetUtilization) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ForegroundHeapGrowthMultiplier' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | RUNTIME_OPTIONS_KEY (double, ForegroundHeapGrowthMultiplier, gc::Heap::kDefaultHeapGrowthMultiplier) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | RUNTIME_OPTIONS_KEY (double, ForegroundHeapGrowthMultiplier, gc::Heap::kDefaultHeapGrowthMultiplier) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ParallelGCThreads' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | RUNTIME_OPTIONS_KEY (unsigned int, ParallelGCThreads, 0u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | RUNTIME_OPTIONS_KEY (unsigned int, ParallelGCThreads, 0u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ConcGCThreads' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (Memory<1>, StackSize) // -Xss | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (Memory<1>, StackSize) // -Xss | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MaxSpinsBeforeThinLockInflation' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:59:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 59 | RUNTIME_OPTIONS_KEY (unsigned int, MaxSpinsBeforeThinLockInflation,Monitor::kDefaultMaxSpinsBeforeThinLockInflation) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:59:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 59 | RUNTIME_OPTIONS_KEY (unsigned int, MaxSpinsBeforeThinLockInflation,Monitor::kDefaultMaxSpinsBeforeThinLockInflation) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LongPauseLogThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LongGCLogThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:62:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 62 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:62:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 62 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ThreadSuspendTimeout' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:64:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 64 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:64:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 64 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpGCPerformanceOnShutdown' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpJITInfoOnShutdown' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:67:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 67 | RUNTIME_OPTIONS_KEY (Unit, DumpJITInfoOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:67:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 67 | RUNTIME_OPTIONS_KEY (Unit, DumpJITInfoOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'IgnoreMaxFootprint' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, IgnoreMaxFootprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, IgnoreMaxFootprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LowMemoryMode' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:69:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 69 | RUNTIME_OPTIONS_KEY (Unit, LowMemoryMode) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:69:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 69 | RUNTIME_OPTIONS_KEY (Unit, LowMemoryMode) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseTLAB' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:70:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 70 | RUNTIME_OPTIONS_KEY (bool, UseTLAB, (kUseTlab || kUseReadBarrier)) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:70:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 70 | RUNTIME_OPTIONS_KEY (bool, UseTLAB, (kUseTlab || kUseReadBarrier)) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'EnableHSpaceCompactForOOM' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | RUNTIME_OPTIONS_KEY (bool, EnableHSpaceCompactForOOM, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | RUNTIME_OPTIONS_KEY (bool, EnableHSpaceCompactForOOM, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseJitCompilation' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpNativeStackOnSigQuit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | RUNTIME_OPTIONS_KEY (bool, DumpNativeStackOnSigQuit, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | RUNTIME_OPTIONS_KEY (bool, DumpNativeStackOnSigQuit, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MadviseRandomAccess' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | RUNTIME_OPTIONS_KEY (bool, MadviseRandomAccess, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | RUNTIME_OPTIONS_KEY (bool, MadviseRandomAccess, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCompileThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | RUNTIME_OPTIONS_KEY (unsigned int, JITCompileThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | RUNTIME_OPTIONS_KEY (unsigned int, JITCompileThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITWarmupThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (unsigned int, JITWarmupThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (unsigned int, JITWarmupThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITOsrThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | RUNTIME_OPTIONS_KEY (unsigned int, JITOsrThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | RUNTIME_OPTIONS_KEY (unsigned int, JITOsrThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITPriorityThreadWeight' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | RUNTIME_OPTIONS_KEY (unsigned int, JITPriorityThreadWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | RUNTIME_OPTIONS_KEY (unsigned int, JITPriorityThreadWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITInvokeTransitionWeight' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCodeCacheInitialCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheInitialCapacity, jit::JitCodeCache::kInitialCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheInitialCapacity, jit::JitCodeCache::kInitialCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCodeCacheMaxCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheMaxCapacity, jit::JitCodeCache::kMaxCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheMaxCapacity, jit::JitCodeCache::kMaxCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HSpaceCompactForOOMMinIntervalsMs' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'PropertiesList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JniTrace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'PatchOat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:88:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 88 | RUNTIME_OPTIONS_KEY (std::string, PatchOat) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:88:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 88 | RUNTIME_OPTIONS_KEY (std::string, PatchOat) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Relocate' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:89:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 89 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:89:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 89 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Dex2Oat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | RUNTIME_OPTIONS_KEY (bool, Dex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | RUNTIME_OPTIONS_KEY (bool, Dex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageDex2Oat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:91:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 91 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:91:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 91 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Interpret' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (bool, Interpret, false) // -Xint | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (bool, Interpret, false) // -Xint | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'GcOption' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (XGcOption, GcOption) // -Xgc: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (XGcOption, GcOption) // -Xgc: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LargeObjectSpace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | RUNTIME_OPTIONS_KEY (gc::space::LargeObjectSpaceType, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | RUNTIME_OPTIONS_KEY (gc::space::LargeObjectSpaceType, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LargeObjectThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | RUNTIME_OPTIONS_KEY (Memory<1>, LargeObjectThreshold, gc::Heap::kDefaultLargeObjectThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | RUNTIME_OPTIONS_KEY (Memory<1>, LargeObjectThreshold, gc::Heap::kDefaultLargeObjectThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BackgroundGc' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | RUNTIME_OPTIONS_KEY (BackgroundGcOption, BackgroundGc) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | RUNTIME_OPTIONS_KEY (BackgroundGcOption, BackgroundGc) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DisableExplicitGC' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | RUNTIME_OPTIONS_KEY (Unit, DisableExplicitGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | RUNTIME_OPTIONS_KEY (Unit, DisableExplicitGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NoSigChain' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | RUNTIME_OPTIONS_KEY (Unit, NoSigChain) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | RUNTIME_OPTIONS_KEY (Unit, NoSigChain) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ForceNativeBridge' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:102:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 102 | RUNTIME_OPTIONS_KEY (Unit, ForceNativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:102:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 102 | RUNTIME_OPTIONS_KEY (Unit, ForceNativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Verbose' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | RUNTIME_OPTIONS_KEY (LogVerbosity, Verbose) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | RUNTIME_OPTIONS_KEY (LogVerbosity, Verbose) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LockProfThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | RUNTIME_OPTIONS_KEY (unsigned int, LockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | RUNTIME_OPTIONS_KEY (unsigned int, LockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackDumpLockProfThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseTombstonedTraces' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | RUNTIME_OPTIONS_KEY (bool, UseTombstonedTraces, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | RUNTIME_OPTIONS_KEY (bool, UseTombstonedTraces, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackTraceFile' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | RUNTIME_OPTIONS_KEY (std::string, StackTraceFile) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | RUNTIME_OPTIONS_KEY (std::string, StackTraceFile) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTrace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (Unit, MethodTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (Unit, MethodTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceFile' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | RUNTIME_OPTIONS_KEY (std::string, MethodTraceFile, "/data/misc/trace/method-trace-file.bin") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | RUNTIME_OPTIONS_KEY (std::string, MethodTraceFile, "/data/misc/trace/method-trace-file.bin") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceFileSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | RUNTIME_OPTIONS_KEY (unsigned int, MethodTraceFileSize, 10 * MB) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | RUNTIME_OPTIONS_KEY (unsigned int, MethodTraceFileSize, 10 * MB) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceStreaming' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | RUNTIME_OPTIONS_KEY (Unit, MethodTraceStreaming) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | RUNTIME_OPTIONS_KEY (Unit, MethodTraceStreaming) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ProfileClock' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | RUNTIME_OPTIONS_KEY (TraceClockSource, ProfileClock, kDefaultTraceClockSource) // -Xprofile: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | RUNTIME_OPTIONS_KEY (TraceClockSource, ProfileClock, kDefaultTraceClockSource) // -Xprofile: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ProfileSaverOpts' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | RUNTIME_OPTIONS_KEY (ProfileSaverOptions, ProfileSaverOpts) // -Xjitsaveprofilinginfo, -Xps-* | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | RUNTIME_OPTIONS_KEY (ProfileSaverOptions, ProfileSaverOpts) // -Xjitsaveprofilinginfo, -Xps-* | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Compiler' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | RUNTIME_OPTIONS_KEY (std::string, Compiler) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | RUNTIME_OPTIONS_KEY (std::string, Compiler) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CompilerOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageCompilerOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:117:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 117 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:117:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 117 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Verify' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:119:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 119 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:119:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 119 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NativeBridge' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:121:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 121 | RUNTIME_OPTIONS_KEY (std::string, NativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:121:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 121 | RUNTIME_OPTIONS_KEY (std::string, NativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ZygoteMaxFailedBoots' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:122:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 122 | RUNTIME_OPTIONS_KEY (unsigned int, ZygoteMaxFailedBoots, 10) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:122:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 122 | RUNTIME_OPTIONS_KEY (unsigned int, ZygoteMaxFailedBoots, 10) | ^~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NoDexFileFallback' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:123:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 123 | RUNTIME_OPTIONS_KEY (Unit, NoDexFileFallback) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:123:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 123 | RUNTIME_OPTIONS_KEY (Unit, NoDexFileFallback) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CpuAbiList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:124:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 124 | RUNTIME_OPTIONS_KEY (std::string, CpuAbiList) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:124:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 124 | RUNTIME_OPTIONS_KEY (std::string, CpuAbiList) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Fingerprint' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:125:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 125 | RUNTIME_OPTIONS_KEY (std::string, Fingerprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:125:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 125 | RUNTIME_OPTIONS_KEY (std::string, Fingerprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Experimental' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:126:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 126 | RUNTIME_OPTIONS_KEY (ExperimentalFlags, Experimental, ExperimentalFlags::kNone) // -Xexperimental:{...} | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:126:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 126 | RUNTIME_OPTIONS_KEY (ExperimentalFlags, Experimental, ExperimentalFlags::kNone) // -Xexperimental:{...} | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'AgentLib' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:127:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 127 | RUNTIME_OPTIONS_KEY (std::list, AgentLib) // -agentlib:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:127:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 127 | RUNTIME_OPTIONS_KEY (std::list, AgentLib) // -agentlib:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'AgentPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:128:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 128 | RUNTIME_OPTIONS_KEY (std::list, AgentPath) // -agentpath:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:128:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 128 | RUNTIME_OPTIONS_KEY (std::list, AgentPath) // -agentpath:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Plugins' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:129:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 129 | RUNTIME_OPTIONS_KEY (std::vector, Plugins) // -Xplugin: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:129:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 129 | RUNTIME_OPTIONS_KEY (std::vector, Plugins) // -Xplugin: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPathDexList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | RUNTIME_OPTIONS_KEY (std::vector>*, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | RUNTIME_OPTIONS_KEY (std::vector>*, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageInstructionSet' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | RUNTIME_OPTIONS_KEY (InstructionSet, ImageInstructionSet, kRuntimeISA) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | RUNTIME_OPTIONS_KEY (InstructionSet, ImageInstructionSet, kRuntimeISA) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CompilerCallbacksPtr' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | RUNTIME_OPTIONS_KEY (CompilerCallbacks*, CompilerCallbacksPtr) // TDOO: make unique_ptr | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | RUNTIME_OPTIONS_KEY (CompilerCallbacks*, CompilerCallbacksPtr) // TDOO: make unique_ptr | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookIsSensitiveThread' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | RUNTIME_OPTIONS_KEY (bool (*)(), HookIsSensitiveThread) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | RUNTIME_OPTIONS_KEY (bool (*)(), HookIsSensitiveThread) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookVfprintf' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | RUNTIME_OPTIONS_KEY (int32_t (*)(FILE* stream, const char* format, va_list ap), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | RUNTIME_OPTIONS_KEY (int32_t (*)(FILE* stream, const char* format, va_list ap), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookExit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | RUNTIME_OPTIONS_KEY (void (*)(int32_t status), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | RUNTIME_OPTIONS_KEY (void (*)(int32_t status), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookAbort' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | RUNTIME_OPTIONS_KEY (void (*)(), HookAbort, nullptr) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | RUNTIME_OPTIONS_KEY (void (*)(), HookAbort, nullptr) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'SlowDebug' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:148:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 148 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:148:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 148 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/stl_tree.h:63, from /usr/include/c++/13.2.1/set:62, from art/runtime/runtime.h:24, from art/runtime/runtime.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/mirror/class.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/thread.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/thread.cc:39: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/thread_list.cc In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/thread.cc:44: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ host C++: libart <= art/runtime/thread_pool.cc In file included from art/runtime/common_throws.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/array.h:24, from art/runtime/reference_table.cc:23: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/thread_list.cc:30: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/base/mutex-inl.h:25, from art/runtime/thread_list.cc:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/thread_list.cc:32: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/ti/agent.cc In file included from art/runtime/debugger.h:37, from art/runtime/thread_list.cc:35: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/thread_pool.cc:33: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/stack_map.h:23, from art/runtime/stack_map.cc:17: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/arch/code_offset.h:22, from art/runtime/stack_map.h:22: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/runtime/runtime_options.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object-inl.h:20: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/signal_catcher.h:21, from art/runtime/signal_catcher.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/runtime-inl.h:22: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/stack_map.h:26: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/trace.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/utils/dex_cache_arrays_layout-inl.h:61:49: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/utils/dex_cache_arrays_layout-inl.h:63:51: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/utils/dex_cache_arrays_layout-inl.h:65:55: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/jit/profile_compilation_info.h:28: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/bit_vector-inl.h:23, from art/runtime/oat_file_manager.cc:26: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/object_lock.h:22: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/trace.cc:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/oat_file_manager.cc:35: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/stack.h:21, from art/runtime/stack.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/trace.cc:28: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/base/length_prefixed_array.h:23, from art/runtime/method_bss_mapping.h:21, from art/runtime/oat_file.h:30: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/transaction.cc In file included from art/runtime/base/length_prefixed_array.h:25: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/type_lookup_table.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/transaction.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26, from art/runtime/mirror/array-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/gc/space/region_space.h:23, from art/runtime/gc/collector/concurrent_copying-inl.h:25, from art/runtime/read_barrier-inl.h:23, from art/runtime/gc_root-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/parsed_options.cc: In member function 'bool art::ParsedOptions::DoParse(const art::RuntimeOptions&, bool, art::RuntimeArgumentMap*)': art/runtime/parsed_options.cc:530:12: warning: invalid conversion from 'jint (*)(JavaVM**, JNIEnv**, void*)' {aka 'int (*)(_JavaVM**, _JNIEnv**, void*)'} to 'const void*' [-fpermissive] 530 | dladdr(JNI_CreateJavaVM, &libart_so_dl_info); | ^~~~~~~~~~~~~~~~ | | | jint (*)(JavaVM**, JNIEnv**, void*) {aka int (*)(_JavaVM**, _JNIEnv**, void*)} In file included from art/runtime/ti/agent.h:20, from art/cmdline/cmdline_types.h:39, from art/runtime/runtime_options.h:28: /usr/include/dlfcn.h:34:12: note: initializing argument 1 of 'int dladdr(const void*, Dl_info*)' 34 | int dladdr(const void *, Dl_info *); | ^~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ host C++: libart <= art/runtime/utf.cc In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Zygote' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:37:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 37 | RUNTIME_OPTIONS_KEY (Unit, Zygote) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:37:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 37 | RUNTIME_OPTIONS_KEY (Unit, Zygote) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Help' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:38:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 38 | RUNTIME_OPTIONS_KEY (Unit, Help) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:38:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 38 | RUNTIME_OPTIONS_KEY (Unit, Help) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ShowVersion' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:39:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 39 | RUNTIME_OPTIONS_KEY (Unit, ShowVersion) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:39:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 39 | RUNTIME_OPTIONS_KEY (Unit, ShowVersion) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPath_a' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:41:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 41 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath_a) // -Xbootclasspath/a | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:41:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 41 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath_a) // -Xbootclasspath/a | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPathLocations' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:42:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 42 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPathLocations) // std::vector | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:42:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 42 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPathLocations) // std::vector | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ClassPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:43:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 43 | RUNTIME_OPTIONS_KEY (std::string, ClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:43:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 43 | RUNTIME_OPTIONS_KEY (std::string, ClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Image' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:44:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 44 | RUNTIME_OPTIONS_KEY (std::string, Image) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:44:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 44 | RUNTIME_OPTIONS_KEY (std::string, Image) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CheckJni' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:45:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 45 | RUNTIME_OPTIONS_KEY (Unit, CheckJni) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:45:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 45 | RUNTIME_OPTIONS_KEY (Unit, CheckJni) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JniOptsForceCopy' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:46:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 46 | RUNTIME_OPTIONS_KEY (Unit, JniOptsForceCopy) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:46:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 46 | RUNTIME_OPTIONS_KEY (Unit, JniOptsForceCopy) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JdwpOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:47:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 47 | RUNTIME_OPTIONS_KEY (JDWP::JdwpOptions, JdwpOptions) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:47:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 47 | RUNTIME_OPTIONS_KEY (JDWP::JdwpOptions, JdwpOptions) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MemoryMaximumSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:48:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 48 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryMaximumSize, gc::Heap::kDefaultMaximumSize) // -Xmx | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:48:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 48 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryMaximumSize, gc::Heap::kDefaultMaximumSize) // -Xmx | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MemoryInitialSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryInitialSize, gc::Heap::kDefaultInitialSize) // -Xms | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryInitialSize, gc::Heap::kDefaultInitialSize) // -Xms | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapGrowthLimit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapGrowthLimit) // Default is 0 for unlimited | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapGrowthLimit) // Default is 0 for unlimited | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapMinFree' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMinFree, gc::Heap::kDefaultMinFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMinFree, gc::Heap::kDefaultMinFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapMaxFree' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMaxFree, gc::Heap::kDefaultMaxFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMaxFree, gc::Heap::kDefaultMaxFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NonMovingSpaceCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | RUNTIME_OPTIONS_KEY (MemoryKiB, NonMovingSpaceCapacity, gc::Heap::kDefaultNonMovingSpaceCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | RUNTIME_OPTIONS_KEY (MemoryKiB, NonMovingSpaceCapacity, gc::Heap::kDefaultNonMovingSpaceCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapTargetUtilization' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | RUNTIME_OPTIONS_KEY (double, HeapTargetUtilization, gc::Heap::kDefaultTargetUtilization) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | RUNTIME_OPTIONS_KEY (double, HeapTargetUtilization, gc::Heap::kDefaultTargetUtilization) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ForegroundHeapGrowthMultiplier' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | RUNTIME_OPTIONS_KEY (double, ForegroundHeapGrowthMultiplier, gc::Heap::kDefaultHeapGrowthMultiplier) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | RUNTIME_OPTIONS_KEY (double, ForegroundHeapGrowthMultiplier, gc::Heap::kDefaultHeapGrowthMultiplier) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ParallelGCThreads' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | RUNTIME_OPTIONS_KEY (unsigned int, ParallelGCThreads, 0u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | RUNTIME_OPTIONS_KEY (unsigned int, ParallelGCThreads, 0u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ConcGCThreads' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (Memory<1>, StackSize) // -Xss | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (Memory<1>, StackSize) // -Xss | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MaxSpinsBeforeThinLockInflation' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:59:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 59 | RUNTIME_OPTIONS_KEY (unsigned int, MaxSpinsBeforeThinLockInflation,Monitor::kDefaultMaxSpinsBeforeThinLockInflation) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:59:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 59 | RUNTIME_OPTIONS_KEY (unsigned int, MaxSpinsBeforeThinLockInflation,Monitor::kDefaultMaxSpinsBeforeThinLockInflation) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LongPauseLogThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LongGCLogThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:62:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 62 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:62:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 62 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ThreadSuspendTimeout' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:64:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 64 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:64:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 64 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpGCPerformanceOnShutdown' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpJITInfoOnShutdown' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:67:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 67 | RUNTIME_OPTIONS_KEY (Unit, DumpJITInfoOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:67:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 67 | RUNTIME_OPTIONS_KEY (Unit, DumpJITInfoOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'IgnoreMaxFootprint' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, IgnoreMaxFootprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, IgnoreMaxFootprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LowMemoryMode' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:69:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 69 | RUNTIME_OPTIONS_KEY (Unit, LowMemoryMode) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:69:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 69 | RUNTIME_OPTIONS_KEY (Unit, LowMemoryMode) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseTLAB' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:70:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 70 | RUNTIME_OPTIONS_KEY (bool, UseTLAB, (kUseTlab || kUseReadBarrier)) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:70:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 70 | RUNTIME_OPTIONS_KEY (bool, UseTLAB, (kUseTlab || kUseReadBarrier)) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'EnableHSpaceCompactForOOM' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | RUNTIME_OPTIONS_KEY (bool, EnableHSpaceCompactForOOM, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | RUNTIME_OPTIONS_KEY (bool, EnableHSpaceCompactForOOM, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseJitCompilation' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpNativeStackOnSigQuit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | RUNTIME_OPTIONS_KEY (bool, DumpNativeStackOnSigQuit, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | RUNTIME_OPTIONS_KEY (bool, DumpNativeStackOnSigQuit, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MadviseRandomAccess' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | RUNTIME_OPTIONS_KEY (bool, MadviseRandomAccess, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | RUNTIME_OPTIONS_KEY (bool, MadviseRandomAccess, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCompileThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | RUNTIME_OPTIONS_KEY (unsigned int, JITCompileThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | RUNTIME_OPTIONS_KEY (unsigned int, JITCompileThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITWarmupThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (unsigned int, JITWarmupThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (unsigned int, JITWarmupThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITOsrThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | RUNTIME_OPTIONS_KEY (unsigned int, JITOsrThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | RUNTIME_OPTIONS_KEY (unsigned int, JITOsrThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITPriorityThreadWeight' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | RUNTIME_OPTIONS_KEY (unsigned int, JITPriorityThreadWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | RUNTIME_OPTIONS_KEY (unsigned int, JITPriorityThreadWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITInvokeTransitionWeight' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCodeCacheInitialCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheInitialCapacity, jit::JitCodeCache::kInitialCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheInitialCapacity, jit::JitCodeCache::kInitialCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCodeCacheMaxCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheMaxCapacity, jit::JitCodeCache::kMaxCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheMaxCapacity, jit::JitCodeCache::kMaxCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HSpaceCompactForOOMMinIntervalsMs' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'PropertiesList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JniTrace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'PatchOat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:88:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 88 | RUNTIME_OPTIONS_KEY (std::string, PatchOat) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:88:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 88 | RUNTIME_OPTIONS_KEY (std::string, PatchOat) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Relocate' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:89:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 89 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:89:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 89 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Dex2Oat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | RUNTIME_OPTIONS_KEY (bool, Dex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | RUNTIME_OPTIONS_KEY (bool, Dex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageDex2Oat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:91:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 91 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:91:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 91 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Interpret' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (bool, Interpret, false) // -Xint | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (bool, Interpret, false) // -Xint | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'GcOption' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (XGcOption, GcOption) // -Xgc: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (XGcOption, GcOption) // -Xgc: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LargeObjectSpace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | RUNTIME_OPTIONS_KEY (gc::space::LargeObjectSpaceType, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | RUNTIME_OPTIONS_KEY (gc::space::LargeObjectSpaceType, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LargeObjectThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | RUNTIME_OPTIONS_KEY (Memory<1>, LargeObjectThreshold, gc::Heap::kDefaultLargeObjectThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | RUNTIME_OPTIONS_KEY (Memory<1>, LargeObjectThreshold, gc::Heap::kDefaultLargeObjectThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BackgroundGc' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | RUNTIME_OPTIONS_KEY (BackgroundGcOption, BackgroundGc) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | RUNTIME_OPTIONS_KEY (BackgroundGcOption, BackgroundGc) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DisableExplicitGC' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | RUNTIME_OPTIONS_KEY (Unit, DisableExplicitGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | RUNTIME_OPTIONS_KEY (Unit, DisableExplicitGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NoSigChain' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | RUNTIME_OPTIONS_KEY (Unit, NoSigChain) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | RUNTIME_OPTIONS_KEY (Unit, NoSigChain) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ForceNativeBridge' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:102:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 102 | RUNTIME_OPTIONS_KEY (Unit, ForceNativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:102:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 102 | RUNTIME_OPTIONS_KEY (Unit, ForceNativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Verbose' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | RUNTIME_OPTIONS_KEY (LogVerbosity, Verbose) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | RUNTIME_OPTIONS_KEY (LogVerbosity, Verbose) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LockProfThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | RUNTIME_OPTIONS_KEY (unsigned int, LockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | RUNTIME_OPTIONS_KEY (unsigned int, LockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackDumpLockProfThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseTombstonedTraces' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | RUNTIME_OPTIONS_KEY (bool, UseTombstonedTraces, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | RUNTIME_OPTIONS_KEY (bool, UseTombstonedTraces, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackTraceFile' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | RUNTIME_OPTIONS_KEY (std::string, StackTraceFile) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | RUNTIME_OPTIONS_KEY (std::string, StackTraceFile) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTrace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (Unit, MethodTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (Unit, MethodTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceFile' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | RUNTIME_OPTIONS_KEY (std::string, MethodTraceFile, "/data/misc/trace/method-trace-file.bin") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | RUNTIME_OPTIONS_KEY (std::string, MethodTraceFile, "/data/misc/trace/method-trace-file.bin") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceFileSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | RUNTIME_OPTIONS_KEY (unsigned int, MethodTraceFileSize, 10 * MB) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | RUNTIME_OPTIONS_KEY (unsigned int, MethodTraceFileSize, 10 * MB) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceStreaming' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | RUNTIME_OPTIONS_KEY (Unit, MethodTraceStreaming) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | RUNTIME_OPTIONS_KEY (Unit, MethodTraceStreaming) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ProfileClock' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | RUNTIME_OPTIONS_KEY (TraceClockSource, ProfileClock, kDefaultTraceClockSource) // -Xprofile: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | RUNTIME_OPTIONS_KEY (TraceClockSource, ProfileClock, kDefaultTraceClockSource) // -Xprofile: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ProfileSaverOpts' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | RUNTIME_OPTIONS_KEY (ProfileSaverOptions, ProfileSaverOpts) // -Xjitsaveprofilinginfo, -Xps-* | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | RUNTIME_OPTIONS_KEY (ProfileSaverOptions, ProfileSaverOpts) // -Xjitsaveprofilinginfo, -Xps-* | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Compiler' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | RUNTIME_OPTIONS_KEY (std::string, Compiler) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | RUNTIME_OPTIONS_KEY (std::string, Compiler) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CompilerOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageCompilerOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:117:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 117 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:117:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 117 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Verify' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:119:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 119 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:119:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 119 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NativeBridge' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:121:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 121 | RUNTIME_OPTIONS_KEY (std::string, NativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:121:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 121 | RUNTIME_OPTIONS_KEY (std::string, NativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ZygoteMaxFailedBoots' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:122:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 122 | RUNTIME_OPTIONS_KEY (unsigned int, ZygoteMaxFailedBoots, 10) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:122:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 122 | RUNTIME_OPTIONS_KEY (unsigned int, ZygoteMaxFailedBoots, 10) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NoDexFileFallback' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:123:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 123 | RUNTIME_OPTIONS_KEY (Unit, NoDexFileFallback) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:123:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 123 | RUNTIME_OPTIONS_KEY (Unit, NoDexFileFallback) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CpuAbiList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:124:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 124 | RUNTIME_OPTIONS_KEY (std::string, CpuAbiList) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:124:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 124 | RUNTIME_OPTIONS_KEY (std::string, CpuAbiList) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Fingerprint' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:125:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 125 | RUNTIME_OPTIONS_KEY (std::string, Fingerprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:125:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 125 | RUNTIME_OPTIONS_KEY (std::string, Fingerprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Experimental' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:126:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 126 | RUNTIME_OPTIONS_KEY (ExperimentalFlags, Experimental, ExperimentalFlags::kNone) // -Xexperimental:{...} | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:126:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 126 | RUNTIME_OPTIONS_KEY (ExperimentalFlags, Experimental, ExperimentalFlags::kNone) // -Xexperimental:{...} | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'AgentLib' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:127:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 127 | RUNTIME_OPTIONS_KEY (std::list, AgentLib) // -agentlib:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:127:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 127 | RUNTIME_OPTIONS_KEY (std::list, AgentLib) // -agentlib:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'AgentPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:128:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 128 | RUNTIME_OPTIONS_KEY (std::list, AgentPath) // -agentpath:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:128:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 128 | RUNTIME_OPTIONS_KEY (std::list, AgentPath) // -agentpath:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Plugins' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:129:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 129 | RUNTIME_OPTIONS_KEY (std::vector, Plugins) // -Xplugin: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:129:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 129 | RUNTIME_OPTIONS_KEY (std::vector, Plugins) // -Xplugin: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPathDexList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | RUNTIME_OPTIONS_KEY (std::vector>*, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | RUNTIME_OPTIONS_KEY (std::vector>*, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageInstructionSet' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | RUNTIME_OPTIONS_KEY (InstructionSet, ImageInstructionSet, kRuntimeISA) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | RUNTIME_OPTIONS_KEY (InstructionSet, ImageInstructionSet, kRuntimeISA) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CompilerCallbacksPtr' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | RUNTIME_OPTIONS_KEY (CompilerCallbacks*, CompilerCallbacksPtr) // TDOO: make unique_ptr | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | RUNTIME_OPTIONS_KEY (CompilerCallbacks*, CompilerCallbacksPtr) // TDOO: make unique_ptr | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookIsSensitiveThread' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | RUNTIME_OPTIONS_KEY (bool (*)(), HookIsSensitiveThread) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | RUNTIME_OPTIONS_KEY (bool (*)(), HookIsSensitiveThread) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookVfprintf' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | RUNTIME_OPTIONS_KEY (int32_t (*)(FILE* stream, const char* format, va_list ap), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | RUNTIME_OPTIONS_KEY (int32_t (*)(FILE* stream, const char* format, va_list ap), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookExit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | RUNTIME_OPTIONS_KEY (void (*)(int32_t status), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | RUNTIME_OPTIONS_KEY (void (*)(int32_t status), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookAbort' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | RUNTIME_OPTIONS_KEY (void (*)(), HookAbort, nullptr) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | RUNTIME_OPTIONS_KEY (void (*)(), HookAbort, nullptr) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'SlowDebug' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:148:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 148 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:148:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 148 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/runtime/mirror/reference.h:23, from art/runtime/read_barrier-inl.h:27: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/scoped_thread_state_change.h:23, from art/runtime/scoped_thread_state_change.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/utils.cc host C++: libart <= art/runtime/vdex_file.cc In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:25, from art/runtime/utf.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/jit_code_cache.h:23: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart <= art/runtime/verifier/instruction_flags.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bitset:49, from art/runtime/thread.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/scoped_thread_state_change-inl.h:24, from art/runtime/utils.cc:38: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/mutex-inl.h:25, from art/runtime/thread-inl.h:23, from art/runtime/scoped_thread_state_change-inl.h:26: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/mirror/class.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/verifier/method_verifier.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/type_lookup_table.h:20, from art/runtime/type_lookup_table.cc:17: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/handle_scope-inl.h:24, from art/runtime/verifier/method_verifier-inl.h:24, from art/runtime/verifier/method_verifier.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/verifier/method_verifier.cc:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/class_linker.h:31, from art/runtime/debugger.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:35, from art/runtime/class_linker.h:36: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/barrier.h:30, from art/runtime/thread_list.h:20, from art/runtime/thread_list.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart <= art/runtime/verifier/reg_type.cc In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/verifier/method_verifier.cc:29: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bitset:49, from art/runtime/trace.h:20, from art/runtime/trace.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/verifier/reg_type_cache.cc host C++: libart <= art/runtime/verifier/register_line.cc host C++: libart <= art/runtime/verifier/verifier_deps.cc In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:36, from art/runtime/verifier/reg_type-inl.h:24, from art/runtime/verifier/reg_type.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method-inl.h:32, from art/runtime/reflection.cc:20: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/mirror/object-inl.h:22: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22, from art/runtime/verifier/reg_type.cc:24: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/verifier/reg_type_cache-inl.h:20, from art/runtime/verifier/reg_type_cache.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/verifier/verifier_deps.h:29, from art/runtime/verifier/verifier_deps.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/handle_scope-inl.h:24, from art/runtime/verifier/method_verifier-inl.h:24, from art/runtime/verifier/register_line.cc:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25, from art/runtime/verifier/verifier_deps.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/verifier/reg_type_cache-inl.h:20, from art/runtime/verifier/register_line-inl.h:23, from art/runtime/verifier/register_line.cc:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31, from art/runtime/verifier/reg_type_cache-inl.h:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method.h:27, from art/runtime/mirror/object-inl.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/verify_object.cc In file included from art/runtime/vdex_file.cc:27: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/utf.cc:19: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/reference_table.h:27: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/dex_file-inl.h:23, from art/runtime/utils.cc:34: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:25, from art/runtime/verify_object-inl.h:22, from art/runtime/verify_object.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/well_known_classes.cc In file included from art/runtime/art_method-inl.h:32, from art/runtime/runtime.cc:61: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/runtime.h:35: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/array-inl.h:28: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/stack_map.h:23, from art/runtime/oat_quick_method_header.h:24, from art/runtime/utils.cc:36: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/utils.h:24, from art/runtime/utils.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/zip_archive.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack_map.h:23, from art/runtime/oat_quick_method_header.h:24, from art/runtime/quick_exception_handler.cc:32: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ host C++: libart <= art/runtime/arch/context.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/runtime/well_known_classes.cc:26: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from system/core/include/ziparchive/zip_archive.h:25, from art/runtime/zip_archive.cc:28: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/well_known_classes.cc:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/vdex_file.h:23, from art/runtime/vdex_file.cc:17: In member function 'const art::ArrayRef::value_type* art::ArrayRef::data() const [with T = const unsigned char]', inlined from 'const art::ArrayRef art::QuickeningInfoIterator::GetCurrentQuickeningInfo() const' at art/runtime/vdex_file.cc:207:34, inlined from 'void art::VdexFile::FullyUnquickenDexFile(const art::DexFile&, const art::DexFile&) const' at art/runtime/vdex_file.cc:279:44: art/runtime/base/array_ref.h:163:43: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 163 | const value_type* data() const { return array_; } | ^~~~~~ art/runtime/vdex_file.cc: In member function 'void art::VdexFile::FullyUnquickenDexFile(const art::DexFile&, const art::DexFile&) const': art/runtime/vdex_file.cc:264:92: note: unnamed temporary defined here 264 | QuickeningInfoIterator it(dex_index, GetHeader().GetNumberOfDexFiles(), GetQuickeningInfo()); | ~~~~~~~~~~~~~~~~~^~ In member function 'const art::ArrayRef::value_type* art::ArrayRef::data() const [with T = const unsigned char]', inlined from 'const art::ArrayRef art::QuickeningInfoIterator::GetCurrentQuickeningInfo() const' at art/runtime/vdex_file.cc:207:34, inlined from 'const uint8_t* art::VdexFile::GetQuickenedInfoOf(const art::DexFile&, uint32_t) const' at art/runtime/vdex_file.cc:309:41: art/runtime/base/array_ref.h:163:43: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 163 | const value_type* data() const { return array_; } | ^~~~~~ art/runtime/vdex_file.cc: In member function 'const uint8_t* art::VdexFile::GetQuickenedInfoOf(const art::DexFile&, uint32_t) const': art/runtime/vdex_file.cc:305:97: note: unnamed temporary defined here 305 | for (QuickeningInfoIterator it(dex_index, GetHeader().GetNumberOfDexFiles(), GetQuickeningInfo()); | ~~~~~~~~~~~~~~~~~^~ In file included from art/runtime/reflection.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/base/scoped_arena_containers.h:27, from art/runtime/verifier/method_verifier.h:26, from art/runtime/verifier/method_verifier-inl.h:21: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/verifier/method_verifier-inl.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/verifier/reg_type.h:26, from art/runtime/verifier/reg_type-inl.h:20: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/stl_tree.h:63, from /usr/include/c++/13.2.1/set:62, from art/runtime/verifier/reg_type.h:22: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:23, from art/runtime/mirror/reference.h:23, from art/runtime/read_barrier-inl.h:27: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/transaction.h:21, from art/runtime/transaction.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/verifier/method_verifier.h:28: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/base/scoped_arena_containers.h:27, from art/runtime/verifier/register_line.h:24, from art/runtime/verifier/register_line.cc:17: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/runtime/verifier/register_line.h:21: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/runtime.cc:81: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/verifier/method_verifier-inl.h:23: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/arch/instruction_set.cc In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/array.h:24, from art/runtime/utf.cc:20: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/intern_table.h:24, from art/runtime/transaction.cc:23: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/stl_tree.h:63, from /usr/include/c++/13.2.1/set:62, from art/runtime/class_linker.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/stack_reference.h:21, from art/runtime/quick_exception_handler.h:24: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/mirror/object-inl.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/obj_ptr.h:20, from art/runtime/verify_object.h:23, from art/runtime/verify_object-inl.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/transaction.cc:24: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/stack_map.h:23, from art/runtime/entrypoints/entrypoint_utils-inl.h:41, from art/runtime/stack.cc:26: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from art/runtime/parsed_options.h:30, from art/runtime/runtime.cc:145: art/runtime/runtime_options.def: At global scope: art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Zygote' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:37:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 37 | RUNTIME_OPTIONS_KEY (Unit, Zygote) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:37:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 37 | RUNTIME_OPTIONS_KEY (Unit, Zygote) | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Help' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:38:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 38 | RUNTIME_OPTIONS_KEY (Unit, Help) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:38:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 38 | RUNTIME_OPTIONS_KEY (Unit, Help) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ShowVersion' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:39:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 39 | RUNTIME_OPTIONS_KEY (Unit, ShowVersion) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:39:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 39 | RUNTIME_OPTIONS_KEY (Unit, ShowVersion) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPath_a' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:41:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 41 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath_a) // -Xbootclasspath/a | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:41:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 41 | RUNTIME_OPTIONS_KEY (std::string, BootClassPath_a) // -Xbootclasspath/a | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPathLocations' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:42:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 42 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPathLocations) // std::vector | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:42:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 42 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPathLocations) // std::vector | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ClassPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:43:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 43 | RUNTIME_OPTIONS_KEY (std::string, ClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:43:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 43 | RUNTIME_OPTIONS_KEY (std::string, ClassPath) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Image' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:44:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 44 | RUNTIME_OPTIONS_KEY (std::string, Image) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:44:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 44 | RUNTIME_OPTIONS_KEY (std::string, Image) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CheckJni' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:45:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 45 | RUNTIME_OPTIONS_KEY (Unit, CheckJni) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:45:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 45 | RUNTIME_OPTIONS_KEY (Unit, CheckJni) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JniOptsForceCopy' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:46:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 46 | RUNTIME_OPTIONS_KEY (Unit, JniOptsForceCopy) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:46:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 46 | RUNTIME_OPTIONS_KEY (Unit, JniOptsForceCopy) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JdwpOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:47:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 47 | RUNTIME_OPTIONS_KEY (JDWP::JdwpOptions, JdwpOptions) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:47:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 47 | RUNTIME_OPTIONS_KEY (JDWP::JdwpOptions, JdwpOptions) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MemoryMaximumSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:48:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 48 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryMaximumSize, gc::Heap::kDefaultMaximumSize) // -Xmx | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:48:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 48 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryMaximumSize, gc::Heap::kDefaultMaximumSize) // -Xmx | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MemoryInitialSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryInitialSize, gc::Heap::kDefaultInitialSize) // -Xms | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryInitialSize, gc::Heap::kDefaultInitialSize) // -Xms | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapGrowthLimit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapGrowthLimit) // Default is 0 for unlimited | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapGrowthLimit) // Default is 0 for unlimited | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapMinFree' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMinFree, gc::Heap::kDefaultMinFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMinFree, gc::Heap::kDefaultMinFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapMaxFree' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMaxFree, gc::Heap::kDefaultMaxFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMaxFree, gc::Heap::kDefaultMaxFree) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NonMovingSpaceCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | RUNTIME_OPTIONS_KEY (MemoryKiB, NonMovingSpaceCapacity, gc::Heap::kDefaultNonMovingSpaceCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | RUNTIME_OPTIONS_KEY (MemoryKiB, NonMovingSpaceCapacity, gc::Heap::kDefaultNonMovingSpaceCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HeapTargetUtilization' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | RUNTIME_OPTIONS_KEY (double, HeapTargetUtilization, gc::Heap::kDefaultTargetUtilization) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | RUNTIME_OPTIONS_KEY (double, HeapTargetUtilization, gc::Heap::kDefaultTargetUtilization) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ForegroundHeapGrowthMultiplier' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | RUNTIME_OPTIONS_KEY (double, ForegroundHeapGrowthMultiplier, gc::Heap::kDefaultHeapGrowthMultiplier) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | RUNTIME_OPTIONS_KEY (double, ForegroundHeapGrowthMultiplier, gc::Heap::kDefaultHeapGrowthMultiplier) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ParallelGCThreads' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | RUNTIME_OPTIONS_KEY (unsigned int, ParallelGCThreads, 0u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | RUNTIME_OPTIONS_KEY (unsigned int, ParallelGCThreads, 0u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ConcGCThreads' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (Memory<1>, StackSize) // -Xss | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (Memory<1>, StackSize) // -Xss | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MaxSpinsBeforeThinLockInflation' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:59:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 59 | RUNTIME_OPTIONS_KEY (unsigned int, MaxSpinsBeforeThinLockInflation,Monitor::kDefaultMaxSpinsBeforeThinLockInflation) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:59:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 59 | RUNTIME_OPTIONS_KEY (unsigned int, MaxSpinsBeforeThinLockInflation,Monitor::kDefaultMaxSpinsBeforeThinLockInflation) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LongPauseLogThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LongGCLogThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:62:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 62 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:62:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 62 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ThreadSuspendTimeout' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:64:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 64 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:64:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 64 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpGCPerformanceOnShutdown' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpJITInfoOnShutdown' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:67:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 67 | RUNTIME_OPTIONS_KEY (Unit, DumpJITInfoOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:67:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 67 | RUNTIME_OPTIONS_KEY (Unit, DumpJITInfoOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'IgnoreMaxFootprint' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, IgnoreMaxFootprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, IgnoreMaxFootprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LowMemoryMode' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:69:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 69 | RUNTIME_OPTIONS_KEY (Unit, LowMemoryMode) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:69:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 69 | RUNTIME_OPTIONS_KEY (Unit, LowMemoryMode) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseTLAB' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:70:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 70 | RUNTIME_OPTIONS_KEY (bool, UseTLAB, (kUseTlab || kUseReadBarrier)) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:70:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 70 | RUNTIME_OPTIONS_KEY (bool, UseTLAB, (kUseTlab || kUseReadBarrier)) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'EnableHSpaceCompactForOOM' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | RUNTIME_OPTIONS_KEY (bool, EnableHSpaceCompactForOOM, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | RUNTIME_OPTIONS_KEY (bool, EnableHSpaceCompactForOOM, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseJitCompilation' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpNativeStackOnSigQuit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | RUNTIME_OPTIONS_KEY (bool, DumpNativeStackOnSigQuit, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | RUNTIME_OPTIONS_KEY (bool, DumpNativeStackOnSigQuit, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MadviseRandomAccess' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | RUNTIME_OPTIONS_KEY (bool, MadviseRandomAccess, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | RUNTIME_OPTIONS_KEY (bool, MadviseRandomAccess, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCompileThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | RUNTIME_OPTIONS_KEY (unsigned int, JITCompileThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | RUNTIME_OPTIONS_KEY (unsigned int, JITCompileThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITWarmupThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (unsigned int, JITWarmupThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (unsigned int, JITWarmupThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITOsrThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | RUNTIME_OPTIONS_KEY (unsigned int, JITOsrThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | RUNTIME_OPTIONS_KEY (unsigned int, JITOsrThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITPriorityThreadWeight' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | RUNTIME_OPTIONS_KEY (unsigned int, JITPriorityThreadWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | RUNTIME_OPTIONS_KEY (unsigned int, JITPriorityThreadWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITInvokeTransitionWeight' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCodeCacheInitialCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheInitialCapacity, jit::JitCodeCache::kInitialCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheInitialCapacity, jit::JitCodeCache::kInitialCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITCodeCacheMaxCapacity' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheMaxCapacity, jit::JitCodeCache::kMaxCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheMaxCapacity, jit::JitCodeCache::kMaxCapacity) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HSpaceCompactForOOMMinIntervalsMs' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'PropertiesList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JniTrace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'PatchOat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:88:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 88 | RUNTIME_OPTIONS_KEY (std::string, PatchOat) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:88:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 88 | RUNTIME_OPTIONS_KEY (std::string, PatchOat) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Relocate' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:89:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 89 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:89:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 89 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Dex2Oat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | RUNTIME_OPTIONS_KEY (bool, Dex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | RUNTIME_OPTIONS_KEY (bool, Dex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageDex2Oat' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:91:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 91 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:91:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 91 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Interpret' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (bool, Interpret, false) // -Xint | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (bool, Interpret, false) // -Xint | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'GcOption' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (XGcOption, GcOption) // -Xgc: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (XGcOption, GcOption) // -Xgc: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LargeObjectSpace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | RUNTIME_OPTIONS_KEY (gc::space::LargeObjectSpaceType, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | RUNTIME_OPTIONS_KEY (gc::space::LargeObjectSpaceType, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LargeObjectThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | RUNTIME_OPTIONS_KEY (Memory<1>, LargeObjectThreshold, gc::Heap::kDefaultLargeObjectThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | RUNTIME_OPTIONS_KEY (Memory<1>, LargeObjectThreshold, gc::Heap::kDefaultLargeObjectThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BackgroundGc' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | RUNTIME_OPTIONS_KEY (BackgroundGcOption, BackgroundGc) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | RUNTIME_OPTIONS_KEY (BackgroundGcOption, BackgroundGc) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DisableExplicitGC' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | RUNTIME_OPTIONS_KEY (Unit, DisableExplicitGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | RUNTIME_OPTIONS_KEY (Unit, DisableExplicitGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NoSigChain' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | RUNTIME_OPTIONS_KEY (Unit, NoSigChain) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | RUNTIME_OPTIONS_KEY (Unit, NoSigChain) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ForceNativeBridge' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:102:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 102 | RUNTIME_OPTIONS_KEY (Unit, ForceNativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:102:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 102 | RUNTIME_OPTIONS_KEY (Unit, ForceNativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Verbose' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | RUNTIME_OPTIONS_KEY (LogVerbosity, Verbose) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | RUNTIME_OPTIONS_KEY (LogVerbosity, Verbose) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'LockProfThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | RUNTIME_OPTIONS_KEY (unsigned int, LockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | RUNTIME_OPTIONS_KEY (unsigned int, LockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackDumpLockProfThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseTombstonedTraces' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | RUNTIME_OPTIONS_KEY (bool, UseTombstonedTraces, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | RUNTIME_OPTIONS_KEY (bool, UseTombstonedTraces, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'StackTraceFile' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | RUNTIME_OPTIONS_KEY (std::string, StackTraceFile) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | RUNTIME_OPTIONS_KEY (std::string, StackTraceFile) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTrace' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (Unit, MethodTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (Unit, MethodTrace) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceFile' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | RUNTIME_OPTIONS_KEY (std::string, MethodTraceFile, "/data/misc/trace/method-trace-file.bin") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | RUNTIME_OPTIONS_KEY (std::string, MethodTraceFile, "/data/misc/trace/method-trace-file.bin") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceFileSize' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | RUNTIME_OPTIONS_KEY (unsigned int, MethodTraceFileSize, 10 * MB) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | RUNTIME_OPTIONS_KEY (unsigned int, MethodTraceFileSize, 10 * MB) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'MethodTraceStreaming' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | RUNTIME_OPTIONS_KEY (Unit, MethodTraceStreaming) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | RUNTIME_OPTIONS_KEY (Unit, MethodTraceStreaming) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ProfileClock' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | RUNTIME_OPTIONS_KEY (TraceClockSource, ProfileClock, kDefaultTraceClockSource) // -Xprofile: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | RUNTIME_OPTIONS_KEY (TraceClockSource, ProfileClock, kDefaultTraceClockSource) // -Xprofile: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ProfileSaverOpts' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | RUNTIME_OPTIONS_KEY (ProfileSaverOptions, ProfileSaverOpts) // -Xjitsaveprofilinginfo, -Xps-* | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | RUNTIME_OPTIONS_KEY (ProfileSaverOptions, ProfileSaverOpts) // -Xjitsaveprofilinginfo, -Xps-* | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Compiler' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | RUNTIME_OPTIONS_KEY (std::string, Compiler) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | RUNTIME_OPTIONS_KEY (std::string, Compiler) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CompilerOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageCompilerOptions' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:117:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 117 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:117:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 117 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Verify' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:119:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 119 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:119:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 119 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NativeBridge' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:121:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 121 | RUNTIME_OPTIONS_KEY (std::string, NativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:121:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 121 | RUNTIME_OPTIONS_KEY (std::string, NativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ZygoteMaxFailedBoots' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:122:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 122 | RUNTIME_OPTIONS_KEY (unsigned int, ZygoteMaxFailedBoots, 10) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:122:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 122 | RUNTIME_OPTIONS_KEY (unsigned int, ZygoteMaxFailedBoots, 10) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'NoDexFileFallback' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:123:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 123 | RUNTIME_OPTIONS_KEY (Unit, NoDexFileFallback) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:123:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 123 | RUNTIME_OPTIONS_KEY (Unit, NoDexFileFallback) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CpuAbiList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:124:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 124 | RUNTIME_OPTIONS_KEY (std::string, CpuAbiList) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:124:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 124 | RUNTIME_OPTIONS_KEY (std::string, CpuAbiList) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Fingerprint' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:125:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 125 | RUNTIME_OPTIONS_KEY (std::string, Fingerprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:125:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 125 | RUNTIME_OPTIONS_KEY (std::string, Fingerprint) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Experimental' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:126:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 126 | RUNTIME_OPTIONS_KEY (ExperimentalFlags, Experimental, ExperimentalFlags::kNone) // -Xexperimental:{...} | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:126:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 126 | RUNTIME_OPTIONS_KEY (ExperimentalFlags, Experimental, ExperimentalFlags::kNone) // -Xexperimental:{...} | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'AgentLib' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:127:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 127 | RUNTIME_OPTIONS_KEY (std::list, AgentLib) // -agentlib:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:127:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 127 | RUNTIME_OPTIONS_KEY (std::list, AgentLib) // -agentlib:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'AgentPath' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:128:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 128 | RUNTIME_OPTIONS_KEY (std::list, AgentPath) // -agentpath:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:128:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 128 | RUNTIME_OPTIONS_KEY (std::list, AgentPath) // -agentpath:= | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'Plugins' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:129:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 129 | RUNTIME_OPTIONS_KEY (std::vector, Plugins) // -Xplugin: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:129:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 129 | RUNTIME_OPTIONS_KEY (std::vector, Plugins) // -Xplugin: | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'BootClassPathDexList' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | RUNTIME_OPTIONS_KEY (std::vector>*, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | RUNTIME_OPTIONS_KEY (std::vector>*, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageInstructionSet' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | RUNTIME_OPTIONS_KEY (InstructionSet, ImageInstructionSet, kRuntimeISA) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | RUNTIME_OPTIONS_KEY (InstructionSet, ImageInstructionSet, kRuntimeISA) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CompilerCallbacksPtr' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | RUNTIME_OPTIONS_KEY (CompilerCallbacks*, CompilerCallbacksPtr) // TDOO: make unique_ptr | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | RUNTIME_OPTIONS_KEY (CompilerCallbacks*, CompilerCallbacksPtr) // TDOO: make unique_ptr | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookIsSensitiveThread' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | RUNTIME_OPTIONS_KEY (bool (*)(), HookIsSensitiveThread) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | RUNTIME_OPTIONS_KEY (bool (*)(), HookIsSensitiveThread) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookVfprintf' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | RUNTIME_OPTIONS_KEY (int32_t (*)(FILE* stream, const char* format, va_list ap), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | RUNTIME_OPTIONS_KEY (int32_t (*)(FILE* stream, const char* format, va_list ap), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookExit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | RUNTIME_OPTIONS_KEY (void (*)(int32_t status), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | RUNTIME_OPTIONS_KEY (void (*)(int32_t status), \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HookAbort' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | RUNTIME_OPTIONS_KEY (void (*)(), HookAbort, nullptr) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | RUNTIME_OPTIONS_KEY (void (*)(), HookAbort, nullptr) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'SlowDebug' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:148:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 148 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:148:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 148 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/class-inl.h:31: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object-readbarrier-inl.h:20, from art/runtime/gc/collector/concurrent_copying-inl.h:27: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/verifier/method_verifier.h:28, from art/runtime/verifier/method_verifier-inl.h:21: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/arch/instruction_set_features.cc In file included from art/runtime/class_linker.h:31, from art/runtime/art_field-inl.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/base/scoped_arena_containers.h:27, from art/runtime/verifier/method_verifier.h:26, from art/runtime/verifier/reg_type-inl.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35, from art/runtime/class_linker.h:36: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/stl_tree.h:63, from /usr/include/c++/13.2.1/map:62, from art/runtime/verifier/verifier_deps.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/runtime/thread.cc:40: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/instrumentation.h:28, from art/runtime/thread.h:38: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ host C++: libart <= art/runtime/arch/memcmp16.cc In file included from art/runtime/verifier/method_verifier-inl.h:23: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ host C++: libart <= art/runtime/arch/arm/instruction_set_features_arm.cc host C++: libart <= art/runtime/arch/arm/registers_arm.cc In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/stack.cc:28: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:23, from art/runtime/well_known_classes.cc:28: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/thread.h: At global scope: art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/well_known_classes.h:20, from art/runtime/well_known_classes.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/gc/space/image_space.h:22, from art/runtime/gc/space/space-inl.h:24, from art/runtime/thread.cc:57: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h: At global scope: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/stack_map.h:23, from art/runtime/oat_quick_method_header.h:24, from art/runtime/thread.cc:75: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/runtime.cc: In member function 'void art::Runtime::AttachAgent(const std::string&)': art/runtime/runtime.cc:1537:55: warning: passing 'art::ti::Agent::LoadError' chooses 'int' over 'unsigned int' [-Wsign-promo] 1537 | LOG(WARNING) << "Agent attach failed (result=" << result << ") : " << error_msg; | ^~~~~~ art/runtime/runtime.cc:1537:55: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] art/runtime/runtime.cc: In member function 'void art::Runtime::InitNativeMethods()': art/runtime/runtime.cc:1572:14: warning: invalid conversion from 'jint (*)(JavaVM**, JNIEnv**, void*)' {aka 'int (*)(_JavaVM**, _JNIEnv**, void*)'} to 'const void*' [-fpermissive] 1572 | dladdr(JNI_CreateJavaVM, &libart_so_dl_info); | ^~~~~~~~~~~~~~~~ | | | jint (*)(JavaVM**, JNIEnv**, void*) {aka int (*)(_JavaVM**, _JNIEnv**, void*)} In file included from art/runtime/runtime.cc:42: /usr/include/dlfcn.h:34:12: note: initializing argument 1 of 'int dladdr(const void*, Dl_info*)' 34 | int dladdr(const void *, Dl_info *); | ^~~~~~~~~~~~ art/runtime/runtime.cc:1600:14: warning: invalid conversion from 'jint (*)(JavaVM**, JNIEnv**, void*)' {aka 'int (*)(_JavaVM**, _JNIEnv**, void*)'} to 'const void*' [-fpermissive] 1600 | dladdr(JNI_CreateJavaVM, &libart_so_dl_info); | ^~~~~~~~~~~~~~~~ | | | jint (*)(JavaVM**, JNIEnv**, void*) {aka int (*)(_JavaVM**, _JNIEnv**, void*)} /usr/include/dlfcn.h:34:12: note: initializing argument 1 of 'int dladdr(const void*, Dl_info*)' 34 | int dladdr(const void *, Dl_info *); | ^~~~~~~~~~~~ host C++: libart <= art/runtime/arch/arm64/instruction_set_features_arm64.cc In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/base/scoped_arena_containers.h:27, from art/runtime/verifier/method_verifier.h:26, from art/runtime/thread.cc:90: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ host C++: libart <= art/runtime/arch/arm64/registers_arm64.cc host C++: libart <= art/runtime/arch/mips/instruction_set_features_mips.cc In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/arch/mips/registers_mips.cc In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object-inl.h:20: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/instrumentation.h:28, from art/runtime/trace.h:32: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30, from art/runtime/art_field-inl.h:28: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class_loader.h:21, from art/runtime/verifier/method_verifier-inl.h:22: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/class-inl.h:31, from art/runtime/verifier/reg_type_cache-inl.h:21: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class_loader.h:21, from art/runtime/verifier/method_verifier-inl.h:22: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/arch/mips64/instruction_set_features_mips64.cc In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/arch/mips64/registers_mips64.cc host C++: libart <= art/runtime/arch/x86/instruction_set_features_x86.cc host C++: libart <= art/runtime/arch/x86/registers_x86.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart <= art/runtime/arch/x86_64/registers_x86_64.cc In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/class_linker-inl.h: In static member function 'static bool art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, ClassGetter) [with bool kThrowOnError = true; ClassGetter = art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, uint32_t, art::ObjPtr)::]': art/runtime/class_linker-inl.h:116:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 116 | if (dex_cache->GetDexFile()->GetVersion() >= DexFile::kDefaultMethodsVersion) { | ^~ art/runtime/class_linker-inl.h:120:5: note: here 120 | case kVirtual: { | ^~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/entrypoints/entrypoint_utils.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/mirror/array.h:21: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart <= art/runtime/entrypoints/jni/jni_entrypoints.cc host C++: libart <= art/runtime/entrypoints/math_entrypoints.cc In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/transaction.h:24: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/entrypoints/entrypoint_utils.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/entrypoints/jni/jni_entrypoints.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/entrypoints/entrypoint_utils-inl.h:22, from art/runtime/entrypoints/math_entrypoints.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/entrypoints/quick/quick_alloc_entrypoints.cc host C++: libart <= art/runtime/entrypoints/quick/quick_cast_entrypoints.cc In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h:190:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 190 | ALWAYS_INLINE bool operator!=(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/mirror/class-inl.h:20, from art/runtime/entrypoints/quick/quick_cast_entrypoints.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/entrypoints/quick/quick_alloc_entrypoints.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/region_space-inl.h:21, from art/runtime/gc/heap-inl.h:31, from art/runtime/mirror/class-inl.h:31: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/verifier/reg_type.h:26, from art/runtime/verifier/reg_type_cache-inl.h:24: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/base/scoped_arena_containers.h:27, from art/runtime/verifier/reg_type_cache.h:25, from art/runtime/verifier/reg_type_cache-inl.h:25: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/entrypoints/quick/quick_deoptimization_entrypoints.cc host C++: libart <= art/runtime/entrypoints/quick/quick_dexcache_entrypoints.cc host C++: libart <= art/runtime/entrypoints/quick/quick_entrypoints_enum.cc In file included from art/runtime/art_method-inl.h:32, from art/runtime/verifier/method_verifier.cc:24: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/verifier/reg_type_cache.h:26, from art/runtime/verifier/method_verifier.h:34: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ host C++: libart <= art/runtime/entrypoints/quick/quick_field_entrypoints.cc host C++: libart <= art/runtime/entrypoints/quick/quick_fillarray_entrypoints.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/entrypoints/quick/quick_jni_entrypoints.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from system/core/include/cutils/trace.h:100, from art/runtime/base/systrace.h:21, from art/runtime/entrypoints/quick/quick_deoptimization_entrypoints.cc:19: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart <= art/runtime/entrypoints/quick/quick_lock_entrypoints.cc In file included from art/runtime/thread-inl.h:20, from art/runtime/entrypoints/quick/callee_save_frame.h:24, from art/runtime/entrypoints/quick/quick_deoptimization_entrypoints.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/mutex-inl.h:25, from art/runtime/thread-inl.h:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/runtime/entrypoints/quick/quick_entrypoints_enum.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/art_method-inl.h:32, from art/runtime/verifier/verifier_deps.cc:22: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/instrumentation.h:28, from art/runtime/thread.h:38: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/entrypoints/quick/quick_dexcache_entrypoints.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/entrypoints/quick/quick_math_entrypoints.cc In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/entrypoints/quick/quick_math_entrypoints.cc:21: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 21 | #pragma clang diagnostic push | art/runtime/entrypoints/quick/quick_math_entrypoints.cc:22: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 22 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/entrypoints/quick/quick_math_entrypoints.cc:68: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 68 | #pragma clang diagnostic pop | In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/entrypoints/quick/quick_field_entrypoints.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/entrypoints/quick/quick_fillarray_entrypoints.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/entrypoints/quick/quick_thread_entrypoints.cc In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/verifier/reg_type.h:31: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/verifier/reg_type.h:26, from art/runtime/verifier/reg_type_cache-inl.h:24: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/entrypoints/quick/quick_jni_entrypoints.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-inl.h:20, from art/runtime/entrypoints/quick/callee_save_frame.h:24, from art/runtime/entrypoints/quick/quick_lock_entrypoints.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/mutex-inl.h:25, from art/runtime/thread-inl.h:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/thread-inl.h:20, from art/runtime/entrypoints/quick/callee_save_frame.h:24, from art/runtime/entrypoints/quick/quick_thread_entrypoints.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/mutex-inl.h:25, from art/runtime/thread-inl.h:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/verifier/reg_type.h:26, from art/runtime/verifier/reg_type-inl.h:20, from art/runtime/verifier/method_verifier.cc:48: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/entrypoints/quick/quick_throw_entrypoints.cc In file included from art/runtime/handle.h:20, from art/runtime/verifier/method_verifier.h:30: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/handle_scope-inl.h:20: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= art/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/verifier/verifier_deps.h:27: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/base/scoped_arena_containers.h: In instantiation of 'void art::ArenaDelete::ProtectMemory(T*, size_t) const [with T = art::verifier::RegisterLine; size_t = long unsigned int]': art/runtime/verifier/register_line-inl.h:197:18: required from here art/runtime/base/scoped_arena_containers.h:211:13: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class art::verifier::RegisterLine' with no trivial copy-assignment [-Wclass-memaccess] 211 | memset(ptr, kMagicFill, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/verifier/register_line.h:61:7: note: 'class art::verifier::RegisterLine' declared here 61 | class RegisterLine { | ^~~~~~~~~~~~ art/runtime/base/scoped_arena_containers.h:218:13: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class art::verifier::RegisterLine' with no trivial copy-assignment [-Wclass-memaccess] 218 | memset(ptr, kMagicFill, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/verifier/register_line.h:61:7: note: 'class art::verifier::RegisterLine' declared here 61 | class RegisterLine { | ^~~~~~~~~~~~ In file included from art/runtime/thread-inl.h:20, from art/runtime/entrypoints/quick/callee_save_frame.h:24, from art/runtime/entrypoints/quick/quick_throw_entrypoints.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/base/mutex-inl.h:25, from art/runtime/thread-inl.h:23: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/class_linker-inl.h:21, from art/runtime/art_method-inl.h:25, from art/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/verifier/reg_type.h:30: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/class_linker-inl.h:22: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/callee_save_type.h:21, from art/runtime/entrypoints/entrypoint_utils.h:23, from art/runtime/entrypoints/entrypoint_utils.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/art_method.h:23: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/callee_save_type.h:21, from art/runtime/entrypoints/entrypoint_utils.h:23, from art/runtime/entrypoints/entrypoint_utils-inl.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/mirror/class.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/entrypoints/quick/quick_alloc_entrypoints.h:20, from art/runtime/entrypoints/quick/quick_alloc_entrypoints.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:33: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/verifier/method_verifier.h:30: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/handle_scope-inl.h:20: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/base/scoped_arena_containers.h: In instantiation of 'void art::ArenaDelete::ProtectMemory(T*, size_t) const [with T = art::verifier::RegisterLine; size_t = long unsigned int]': art/runtime/verifier/register_line-inl.h:197:18: required from here art/runtime/base/scoped_arena_containers.h:211:13: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class art::verifier::RegisterLine' with no trivial copy-assignment [-Wclass-memaccess] 211 | memset(ptr, kMagicFill, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/verifier/method_verifier.h:33: art/runtime/verifier/register_line.h:61:7: note: 'class art::verifier::RegisterLine' declared here 61 | class RegisterLine { | ^~~~~~~~~~~~ art/runtime/base/scoped_arena_containers.h:218:13: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class art::verifier::RegisterLine' with no trivial copy-assignment [-Wclass-memaccess] 218 | memset(ptr, kMagicFill, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/verifier/register_line.h:61:7: note: 'class art::verifier::RegisterLine' declared here 61 | class RegisterLine { | ^~~~~~~~~~~~ In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/art_method.h:23: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/art_method.h:23: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/monitor_linux.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/runtime_linux.cc In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/dex_file_types.h:21, from art/runtime/art_field.h:22, from art/runtime/art_field-inl.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/art_method.h:23: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:29: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/thread_linux.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/art_method-inl.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/interpreter/shadow_frame.h:26, from art/runtime/managed_stack-inl.h:26, from art/runtime/thread-inl.h:26: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread_linux.cc:19: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from art/runtime/interpreter/shadow_frame.h:26, from art/runtime/managed_stack-inl.h:26, from art/runtime/thread-inl.h:26: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from art/runtime/base/logging.h:20, from art/runtime/base/bit_utils.h:23, from art/runtime/art_method.h:23: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/interpreter/shadow_frame.h:26, from art/runtime/managed_stack-inl.h:26, from art/runtime/thread-inl.h:26: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/verifier/method_verifier.cc:34: art/runtime/dex_instruction-inl.h: In member function 'void art::Instruction::GetVarArgs(uint32_t*, uint16_t) const': art/runtime/dex_instruction-inl.h:537:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 537 | arg[4] = InstA(inst_data); | ~~~~~~~^~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:539:5: note: here 539 | case 4: | ^~~~ art/runtime/dex_instruction-inl.h:540:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 540 | arg[3] = (regList >> 12) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:542:5: note: here 542 | case 3: | ^~~~ art/runtime/dex_instruction-inl.h:543:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 543 | arg[2] = (regList >> 8) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:545:5: note: here 545 | case 2: | ^~~~ art/runtime/dex_instruction-inl.h:546:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 546 | arg[1] = (regList >> 4) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/dex_instruction-inl.h:548:5: note: here 548 | case 1: | ^~~~ In file included from art/runtime/gc/heap-inl.h:29: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:35, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:25, from art/runtime/entrypoints/quick/quick_lock_entrypoints.cc:19: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/arch/instruction_set.h:21, from art/runtime/entrypoints/quick/callee_save_frame.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/interpreter/shadow_frame.h:26, from art/runtime/managed_stack-inl.h:26, from art/runtime/thread-inl.h:26: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/interpreter/mterp/mterp.cc In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/art_field-inl.h:23, from art/runtime/interpreter/interpreter_common.h:31, from art/runtime/interpreter/mterp/mterp.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:22, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:25: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= art/runtime/arch/x86_64/context_x86_64.cc In file included from art/runtime/jit/jit.h:20, from art/runtime/interpreter/interpreter_common.h:43: art/runtime/base/histogram-inl.h:232: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 232 | #pragma clang diagnostic push | art/runtime/base/histogram-inl.h:233: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 233 | #pragma clang diagnostic ignored "-Wfloat-equal" | art/runtime/base/histogram-inl.h:275: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 275 | #pragma clang diagnostic pop | In file included from art/runtime/mirror/class.h:35, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:25, from art/runtime/entrypoints/quick/quick_throw_entrypoints.cc:19: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/arch/instruction_set.h:21, from art/runtime/entrypoints/quick/callee_save_frame.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= art/runtime/arch/x86_64/entrypoints_init_x86_64.cc host C++: libart <= art/runtime/arch/x86_64/thread_x86_64.cc In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/array-inl.h:28: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object-inl.h:20: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/monitor_pool.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/arch/x86_64/thread_x86_64.cc:17: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/arch/x86_64/thread_x86_64.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/arch/x86/fault_handler_x86.cc In file included from art/runtime/base/mutex-inl.h:25, from art/runtime/monitor_pool.cc:20: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/monitor_pool.cc:21: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/thread-current-inl.h:20, from art/runtime/arch/x86/fault_handler_x86.cc:29: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/array-inl.h:28: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object-inl.h:20: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/class_linker-inl.h:23: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/arch/instruction_set_operator_out.cc In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/base/allocator_operator_out.cc In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/interpreter/interpreter.h:21, from art/runtime/interpreter/interpreter_common.h:20: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/arch/x86_64/context_x86_64.cc:20: art/runtime/base/bit_utils_iterator.h:35:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 35 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/arch/context.h:24, from art/runtime/arch/x86_64/context_x86_64.h:20, from art/runtime/arch/x86_64/context_x86_64.cc:17: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32, from art/runtime/entrypoints/entrypoint_utils.cc:20: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/object.h:21: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/art_method-inl.h:32, from art/runtime/entrypoints/entrypoint_utils-inl.h:23: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/runtime/base/mutex.h:24, from art/runtime/interpreter/interpreter.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ In file included from art/runtime/stack_map.h:23, from art/runtime/entrypoints/entrypoint_utils-inl.h:41, from art/runtime/entrypoints/entrypoint_utils.cc:25: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/interpreter/interpreter.h:21, from art/runtime/arch/x86_64/entrypoints_init_x86_64.cc:30: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/mirror/class-inl.h:29, from art/runtime/mirror/object-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/class_linker-inl.h:26: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack_map.h:23, from art/runtime/entrypoints/entrypoint_utils-inl.h:41: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/base/callee_save_type_operator_out.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/base/enums_operator_out.cc In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ In file included from art/runtime/art_method.h:27, from art/runtime/arch/x86/fault_handler_x86.cc:22: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22, from art/runtime/mirror/class.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/stack_map.h:23, from art/runtime/entrypoints/entrypoint_utils-inl.h:41, from art/runtime/entrypoints/quick/quick_alloc_entrypoints.cc:23: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/base/mutex_operator_out.cc In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/debugger_operator_out.cc In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/base/unix_file/fd_file_operator_out.cc In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/handle.h:20, from art/runtime/entrypoints/entrypoint_utils.h:29: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/dex_file_operator_out.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/entrypoints/entrypoint_utils.h:29: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/art_method-inl.h:32, from art/runtime/entrypoints/quick/quick_field_entrypoints.cc:20: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:36, from art/runtime/class_linker.h:36, from art/runtime/debugger.h:31, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/debugger_operator_out.cc:3: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/debugger.h:37: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/runtime/stack_map.h:23, from art/runtime/entrypoints/entrypoint_utils-inl.h:41, from art/runtime/entrypoints/quick/quick_dexcache_entrypoints.cc:20: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/arch/x86/fault_handler_x86.cc: In function 'uint32_t art::GetInstructionSize(const uint8_t*)': art/runtime/arch/x86/fault_handler_x86.cc:132:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 132 | operand_size_prefix = true; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ art/runtime/arch/x86/fault_handler_x86.cc:136:7: note: here 136 | case 0xf0: | ^~~~ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/stack_map.h:23, from art/runtime/entrypoints/entrypoint_utils-inl.h:41, from art/runtime/entrypoints/quick/quick_jni_entrypoints.cc:19: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/dex_file_layout_operator_out.cc host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/dex_instruction_operator_out.cc host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/dex_instruction_utils_operator_out.cc In file included from art/runtime/stack_map.h:23, from art/runtime/entrypoints/entrypoint_utils-inl.h:41, from art/runtime/entrypoints/quick/quick_field_entrypoints.cc:24: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:28: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc_root_operator_out.cc In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/handle_scope.h:26, from art/runtime/thread.h:37: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/class_table.h:25, from art/runtime/class_table-inl.h:20, from art/runtime/entrypoints/quick/quick_dexcache_entrypoints.cc:22: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/allocator_type_operator_out.cc In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:329:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:339:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h:585:52: required from 'void art::mirror::Object::SetFieldPtrWithSize(art::MemberOffset, T, art::PointerSize) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/object.h:561:77: required from 'void art::mirror::Object::SetFieldPtr(art::MemberOffset, T) [with bool kTransactionActive = false; bool kCheckTransaction = true; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; T = std::atomic >*]' art/runtime/mirror/dex_cache.h:370:23: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/allocator/rosalloc_operator_out.cc In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/art_method-inl.h:25: art/runtime/class_linker-inl.h: In static member function 'static bool art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, ClassGetter) [with bool kThrowOnError = true; ClassGetter = art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, uint32_t, art::ObjPtr)::]': art/runtime/class_linker-inl.h:116:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 116 | if (dex_cache->GetDexFile()->GetVersion() >= DexFile::kDefaultMethodsVersion) { | ^~ art/runtime/class_linker-inl.h:120:5: note: here 120 | case kVirtual: { | ^~~~ In file included from art/runtime/art_method-inl.h:25: art/runtime/class_linker-inl.h: In static member function 'static bool art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, ClassGetter) [with bool kThrowOnError = true; ClassGetter = art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, uint32_t, art::ObjPtr)::]': art/runtime/class_linker-inl.h:116:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 116 | if (dex_cache->GetDexFile()->GetVersion() >= DexFile::kDefaultMethodsVersion) { | ^~ art/runtime/class_linker-inl.h:120:5: note: here 120 | case kVirtual: { | ^~~~ In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/gc/allocator/rosalloc.h:34, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/allocator/rosalloc_operator_out.cc:3: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/collector_type_operator_out.cc In file included from art/runtime/handle.h:26: art/runtime/obj_ptr.h: At global scope: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/collector/gc_type_operator_out.cc In file included from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/art_field-inl.h:28: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache.h:65:43: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:46:12: note: shadowed declaration is here 46 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:65:26: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 65 | DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:45:13: note: shadowed declaration is here 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:99:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:96:10: note: shadowed declaration is here 96 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:99:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 99 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:95:6: note: shadowed declaration is here 95 | T* object; | ^~~~~~ In file included from art/runtime/gc/heap-inl.h:29, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/gc/space/dlmalloc_space-inl.h: In member function 'art::mirror::Object* art::gc::space::DlMallocSpace::AllocNonvirtual(art::Thread*, size_t, size_t*, size_t*, size_t*)': art/runtime/gc/space/dlmalloc_space-inl.h:40:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 40 | memset(obj, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:31: art/runtime/mirror/object.h:74:24: note: 'class art::mirror::Object' declared here 74 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/stack_map.h:23, from art/runtime/entrypoints/entrypoint_utils-inl.h:41, from art/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc:25: art/runtime/base/bit_vector.h: At global scope: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/dex_file_operator_out.cc:3: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/heap_operator_out.cc art/runtime/class_linker-inl.h: In static member function 'static bool art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, ClassGetter) [with bool kThrowOnError = true; ClassGetter = art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, uint32_t, art::ObjPtr)::]': art/runtime/class_linker-inl.h:116:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 116 | if (dex_cache->GetDexFile()->GetVersion() >= DexFile::kDefaultMethodsVersion) { | ^~ art/runtime/class_linker-inl.h:120:5: note: here 120 | case kVirtual: { | ^~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/space/region_space_operator_out.cc host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/space/space_operator_out.cc host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/weak_root_state_operator_out.cc host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/image_operator_out.cc In file included from art/runtime/class_linker.h:31: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from /usr/include/c++/13.2.1/iostream:41, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/debugger_operator_out.cc:1: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/class_linker-inl.h: In static member function 'static bool art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, ClassGetter) [with bool kThrowOnError = true; ClassGetter = art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, uint32_t, art::ObjPtr)::]': art/runtime/class_linker-inl.h:116:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 116 | if (dex_cache->GetDexFile()->GetVersion() >= DexFile::kDefaultMethodsVersion) { | ^~ art/runtime/class_linker-inl.h:120:5: note: here 120 | case kVirtual: { | ^~~~ In file included from art/runtime/gc/space/region_space.h:23, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/space/region_space_operator_out.cc:3: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/instrumentation_operator_out.cc host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/indirect_reference_table_operator_out.cc host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/invoke_type_operator_out.cc art/runtime/class_linker-inl.h: In static member function 'static bool art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, ClassGetter) [with bool kThrowOnError = true; ClassGetter = art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, uint32_t, art::ObjPtr)::]': art/runtime/class_linker-inl.h:116:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 116 | if (dex_cache->GetDexFile()->GetVersion() >= DexFile::kDefaultMethodsVersion) { | ^~ art/runtime/class_linker-inl.h:120:5: note: here 120 | case kVirtual: { | ^~~~ In file included from art/runtime/art_method-inl.h:25: art/runtime/class_linker-inl.h: In static member function 'static bool art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, ClassGetter) [with bool kThrowOnError = true; ClassGetter = art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, uint32_t, art::ObjPtr)::]': art/runtime/class_linker-inl.h:116:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 116 | if (dex_cache->GetDexFile()->GetVersion() >= DexFile::kDefaultMethodsVersion) { | ^~ art/runtime/class_linker-inl.h:120:5: note: here 120 | case kVirtual: { | ^~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/jdwp/jdwp_operator_out.cc host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/jdwp/jdwp_constants_operator_out.cc art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/lock_word_operator_out.cc host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/mirror/class_operator_out.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:64:50: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 45 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:102:52: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:138:65: required from here art/runtime/mirror/dex_cache.h:45:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/oat_operator_out.cc In file included from art/runtime/mirror/class.h:36, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/mirror/class_operator_out.cc:3: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/object_callbacks_operator_out.cc In file included from art/runtime/art_method.h:24: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/process_state_operator_out.cc host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/stack_operator_out.cc In file included from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/image_operator_out.cc:3: art/runtime/image.h: In static member function 'static size_t art::ImageHeader::NumberOfImageRoots(bool)': art/runtime/image.h:218:22: warning: enumerated and non-enumerated type in conditional expression [-Wextra] 218 | return app_image ? kImageRootsMax : kImageRootsMax - 1u; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/suspend_reason_operator_out.cc host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/thread_operator_out.cc host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/thread_state_operator_out.cc host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/ti/agent_operator_out.cc In file included from art/runtime/art_method-inl.h:32, from art/runtime/interpreter/interpreter_common.h:32: art/runtime/jit/profiling_info.h: In member function 'void art::ProfilingInfo::ClearGcRootsInInlineCaches()': art/runtime/jit/profiling_info.h:106:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::GcRoot'; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset(&cache->classes_[0], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 107 | 0, | ~~ 108 | InlineCache::kIndividualCacheSize * sizeof(GcRoot)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:185:7: note: 'class art::GcRoot' declared here 185 | class GcRoot { | ^~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/verifier/verifier_enums_operator_out.cc host SharedLib: libbacktrace (out/host/linux-x86/obj/lib/libbacktrace.so) Install: out/host/linux-x86/lib64/libbase.so host SharedLib: libjavacore (out/host/linux-x86/obj/lib/libjavacore.so) Copying: out/host/common/obj/JAVA_LIBRARIES/core-all-hostdex_intermediates/classes-jarjar.jar art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Install: out/host/linux-x86/framework/dx.jar Install: out/host/linux-x86/framework/jarjar.jar Install: out/host/linux-x86/bin/dalvikvm64 In file included from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/thread_operator_out.cc:3: art/runtime/thread.h:1613:5: warning: multi-line comment [-Wcomment] 1613 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ Install: out/host/linux-x86/lib64/libbacktrace.so Install: out/host/linux-x86/lib64/libziparchive-host.so In file included from art/runtime/interpreter/interpreter_common.h:37: art/runtime/common_dex_operations.h: At global scope: art/runtime/common_dex_operations.h:31:8: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, const art::DexFile::CodeItem*, art::ShadowFrame*, art::JValue*)' in same scope [-Wredundant-decls] 31 | void ArtInterpreterToInterpreterBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter.h:55:6: note: previous declaration of 'void art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, const art::DexFile::CodeItem*, art::ShadowFrame*, art::JValue*)' 55 | void ArtInterpreterToInterpreterBridge(Thread* self, const DexFile::CodeItem* code_item, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Copying: out/host/common/obj/JAVA_LIBRARIES/core-all-hostdex_intermediates/classes.jar Copy: dx (out/host/linux-x86/obj/EXECUTABLES/dx_intermediates/dx) Install: out/host/linux-x86/bin/dx In file included from art/runtime/oat.h:25, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/oat_operator_out.cc:3: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ target Dex: core-all-hostdex In file included from art/runtime/mirror/class.h:23: art/runtime/dex_file.h:1584:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1571:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1571 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1599:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 1599 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/dex_file.h:1584:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 1584 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ Install: out/host/linux-x86/lib64/libjavacore.so In file included from art/runtime/mirror/object_reference.h:22, from art/runtime/gc_root.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/mirror/class.h:35: art/runtime/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from /usr/include/c++/13.2.1/iostream:41, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/mirror/class_operator_out.cc:1: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/class_linker-inl.h: In static member function 'static bool art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, ClassGetter) [with bool kThrowOnError = true; ClassGetter = art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, uint32_t, art::ObjPtr)::]': art/runtime/class_linker-inl.h:116:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 116 | if (dex_cache->GetDexFile()->GetVersion() >= DexFile::kDefaultMethodsVersion) { | ^~ art/runtime/class_linker-inl.h:120:5: note: here 120 | case kVirtual: { | ^~~~ art/runtime/class_linker-inl.h: In static member function 'static bool art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, ClassGetter) [with bool kThrowOnError = false; ClassGetter = art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, uint32_t, art::ObjPtr)::]': art/runtime/class_linker-inl.h:116:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 116 | if (dex_cache->GetDexFile()->GetVersion() >= DexFile::kDefaultMethodsVersion) { | ^~ art/runtime/class_linker-inl.h:120:5: note: here 120 | case kVirtual: { | ^~~~ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack_map.h:23, from art/runtime/entrypoints/entrypoint_utils-inl.h:41, from art/runtime/interpreter/interpreter_common.h:41: art/runtime/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/base/hash_map.h:22, from art/runtime/base/arena_containers.h:29, from art/runtime/jit/profile_compilation_info.h:25, from art/runtime/jit/jit.h:26: art/runtime/base/hash_set.h:63:29: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | class BaseIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/interpreter/interpreter_common.h:531:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 531 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:37:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 37 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/handle.h:20, from art/runtime/class_linker.h:34: art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:168:46: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ In file included from art/runtime/thread.h:37: art/runtime/handle_scope.h:42:17: note: defined here 42 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:281:7: note: defined here 281 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:178:52: required from here art/runtime/base/casts.h:76:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 76 | return static_cast(f); | ^ art/runtime/thread.h:1563:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1563 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/mterp/mterp.cc:691:27: warning: 'always_inline' function might not be inlinable [-Wattributes] 691 | ALWAYS_INLINE return_type MterpGetStatic(uint32_t field_idx, | ^~~~~~~~~~~~~~ art/runtime/interpreter/mterp/mterp.cc:691:27: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/interpreter/mterp/mterp.cc:691:27: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/interpreter/mterp/mterp.cc:691:27: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/interpreter/mterp/mterp.cc:691:27: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/interpreter/mterp/mterp.cc:691:27: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/interpreter/mterp/mterp.cc:691:27: warning: 'always_inline' function might not be inlinable [-Wattributes] In file included from art/runtime/interpreter/interpreter.h:22: art/runtime/obj_ptr.h:179:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 179 | ALWAYS_INLINE bool operator==(const PointerType* a, const ObjPtr& b) | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:25: art/runtime/class_linker-inl.h: In static member function 'static bool art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, ClassGetter) [with bool kThrowOnError = true; ClassGetter = art::ClassLinker::CheckInvokeClassMismatch(art::ObjPtr, art::InvokeType, uint32_t, art::ObjPtr)::]': art/runtime/class_linker-inl.h:116:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 116 | if (dex_cache->GetDexFile()->GetVersion() >= DexFile::kDefaultMethodsVersion) { | ^~ art/runtime/class_linker-inl.h:120:5: note: here 120 | case kVirtual: { | ^~~~ host SharedLib: libvixl (out/host/linux-x86/obj/lib/libvixl.so) Install: out/host/linux-x86/lib64/libvixl.so In function 'void art::artQuickGenericJniEndJNINonRef(Thread*, uint32_t, bool, jobject)', inlined from 'art::TwoWordReturn art::artQuickGenericJniTrampoline(Thread*, ArtMethod**)' at art/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc:2253:41: art/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc:2122:29: warning: 'cookie' may be used uninitialized [-Wmaybe-uninitialized] 2122 | JniMethodEndSynchronized(cookie, lock, self); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ art/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc: In function 'art::TwoWordReturn art::artQuickGenericJniTrampoline(Thread*, ArtMethod**)': art/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc:2202:12: note: 'cookie' was declared here 2202 | uint32_t cookie; | ^~~~~~ Host Jar: core-all-hostdex (out/host/common/obj/JAVA_LIBRARIES/core-all-hostdex_intermediates/javalib.jar) host Java: core-oj-hostdex (out/host/common/obj/JAVA_LIBRARIES/core-oj-hostdex_intermediates/classes) Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Copying: out/host/common/obj/JAVA_LIBRARIES/core-oj-hostdex_intermediates/classes-jarjar.jar Copying: out/host/common/obj/JAVA_LIBRARIES/core-oj-hostdex_intermediates/classes.jar target Dex: core-oj-hostdex host SharedLib: libart (out/host/linux-x86/obj/lib/libart.so) Install: out/host/linux-x86/lib64/libart.so host SharedLib: libart-dexlayout (out/host/linux-x86/obj/lib/libart-dexlayout.so) host SharedLib: libopenjdkjvm (out/host/linux-x86/obj/lib/libopenjdkjvm.so) host SharedLib: libopenjdk (out/host/linux-x86/obj/lib/libopenjdk.so) Install: out/host/linux-x86/lib64/libart-dexlayout.so host SharedLib: libart-compiler (out/host/linux-x86/obj/lib/libart-compiler.so) Install: out/host/linux-x86/lib64/libopenjdkjvm.so Install: out/host/linux-x86/lib64/libopenjdk.so Install: out/host/linux-x86/lib64/libart-compiler.so host Executable: dex2oat (out/host/linux-x86/obj/EXECUTABLES/dex2oat_intermediates/dex2oat) Install: out/host/linux-x86/bin/dex2oat Host Jar: core-oj-hostdex (out/host/common/obj/JAVA_LIBRARIES/core-oj-hostdex_intermediates/javalib.jar) host Java: core-libart-hostdex (out/host/common/obj/JAVA_LIBRARIES/core-libart-hostdex_intermediates/classes) Install: out/host/linux-x86/framework/core-oj-hostdex.jar Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Copying: out/host/common/obj/JAVA_LIBRARIES/core-libart-hostdex_intermediates/classes-jarjar.jar Copying: out/host/common/obj/JAVA_LIBRARIES/core-libart-hostdex_intermediates/classes.jar target Dex: core-libart-hostdex Host Jar: core-libart-hostdex (out/host/common/obj/JAVA_LIBRARIES/core-libart-hostdex_intermediates/javalib.jar) Install: out/host/linux-x86/framework/core-libart-hostdex.jar host Java: apachehttp-hostdex (out/host/common/obj/JAVA_LIBRARIES/apachehttp-hostdex_intermediates/classes) host Java: apache-xml-hostdex (out/host/common/obj/JAVA_LIBRARIES/apache-xml-hostdex_intermediates/classes) host Java: hamcrest-hostdex (out/host/common/obj/JAVA_LIBRARIES/hamcrest-hostdex_intermediates/classes) host Java: core-junit-hostdex (out/host/common/obj/JAVA_LIBRARIES/core-junit-hostdex_intermediates/classes) host Java: bouncycastle-hostdex (out/host/common/obj/JAVA_LIBRARIES/bouncycastle-hostdex_intermediates/classes) host Java: wolfssljni-hostdex (out/host/common/obj/JAVA_LIBRARIES/wolfssljni-hostdex_intermediates/classes) host Java: okhttp-hostdex (out/host/common/obj/JAVA_LIBRARIES/okhttp-hostdex_intermediates/classes) Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Copying: out/host/common/obj/JAVA_LIBRARIES/hamcrest-hostdex_intermediates/classes-jarjar.jar Copying: out/host/common/obj/JAVA_LIBRARIES/hamcrest-hostdex_intermediates/classes.jar target Dex: hamcrest-hostdex Copying: out/host/common/obj/JAVA_LIBRARIES/core-junit-hostdex_intermediates/classes-jarjar.jar Copying: out/host/common/obj/JAVA_LIBRARIES/core-junit-hostdex_intermediates/classes.jar target Dex: core-junit-hostdex Host Jar: hamcrest-hostdex (out/host/common/obj/JAVA_LIBRARIES/hamcrest-hostdex_intermediates/javalib.jar) Install: out/host/linux-x86/framework/hamcrest-hostdex.jar Host Jar: core-junit-hostdex (out/host/common/obj/JAVA_LIBRARIES/core-junit-hostdex_intermediates/javalib.jar) Install: out/host/linux-x86/framework/core-junit-hostdex.jar Copying: out/host/common/obj/JAVA_LIBRARIES/wolfssljni-hostdex_intermediates/classes-jarjar.jar Copying: out/host/common/obj/JAVA_LIBRARIES/wolfssljni-hostdex_intermediates/classes.jar target Dex: wolfssljni-hostdex Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/Util.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. JarJar: out/host/common/obj/JAVA_LIBRARIES/okhttp-hostdex_intermediates/classes-jarjar.jar Copying: out/host/common/obj/JAVA_LIBRARIES/apachehttp-hostdex_intermediates/classes-jarjar.jar Copying: out/host/common/obj/JAVA_LIBRARIES/apachehttp-hostdex_intermediates/classes.jar target Dex: apachehttp-hostdex Host Jar: wolfssljni-hostdex (out/host/common/obj/JAVA_LIBRARIES/wolfssljni-hostdex_intermediates/javalib.jar) Install: out/host/linux-x86/framework/wolfssljni-hostdex.jar Copying: out/host/common/obj/JAVA_LIBRARIES/okhttp-hostdex_intermediates/classes.jar target Dex: okhttp-hostdex Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. JarJar: out/host/common/obj/JAVA_LIBRARIES/bouncycastle-hostdex_intermediates/classes-jarjar.jar Copying: out/host/common/obj/JAVA_LIBRARIES/apache-xml-hostdex_intermediates/classes-jarjar.jar Copying: out/host/common/obj/JAVA_LIBRARIES/apache-xml-hostdex_intermediates/classes.jar target Dex: apache-xml-hostdex Host Jar: apachehttp-hostdex (out/host/common/obj/JAVA_LIBRARIES/apachehttp-hostdex_intermediates/javalib.jar) Install: out/host/linux-x86/framework/apachehttp-hostdex.jar Host Jar: okhttp-hostdex (out/host/common/obj/JAVA_LIBRARIES/okhttp-hostdex_intermediates/javalib.jar) Install: out/host/linux-x86/framework/okhttp-hostdex.jar Copying: out/host/common/obj/JAVA_LIBRARIES/bouncycastle-hostdex_intermediates/classes.jar target Dex: bouncycastle-hostdex Host Jar: apache-xml-hostdex (out/host/common/obj/JAVA_LIBRARIES/apache-xml-hostdex_intermediates/javalib.jar) Install: out/host/linux-x86/framework/apache-xml-hostdex.jar Host Jar: bouncycastle-hostdex (out/host/common/obj/JAVA_LIBRARIES/bouncycastle-hostdex_intermediates/javalib.jar) Install: out/host/linux-x86/framework/bouncycastle-hostdex.jar >>> dalvik-standalone: Entering fakeroot... ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=6.0.1 TARGET_PRODUCT=full TARGET_BUILD_VARIANT=eng TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a TARGET_CPU_VARIANT=generic TARGET_2ND_ARCH= TARGET_2ND_ARCH_VARIANT= TARGET_2ND_CPU_VARIANT= HOST_ARCH=x86_64 HOST_OS=linux HOST_OS_EXTRA=Linux-5.15.108-0-lts-x86_64-with HOST_BUILD_TYPE=release BUILD_ID=MOB30M OUT_DIR=out ============================================ including ./abi/cpp/Android.mk ... including ./art/Android.mk ... including ./build/libs/host/Android.mk ... including ./build/target/board/Android.mk ... including ./build/target/product/security/Android.mk ... including ./build/tools/Android.mk ... including ./dalvik/Android.mk ... including ./external/apache-harmony/Android.mk ... including ./external/apache-http/Android.mk ... including ./external/apache-xml/Android.mk ... including ./external/bouncycastle/Android.mk ... including ./external/fdlibm/Android.mk ... including ./external/gcc-demangle/Android.mk ... including ./external/hamcrest/Android.mk ... including ./external/icu/Android.mk ... including ./external/junit/Android.mk ... including ./external/libunwind/Android.mk ... including ./external/okhttp/Android.mk ... including ./external/safe-iop/Android.mk ... including ./external/vixl/Android.mk ... including ./external/wolfssljni/Android.mk ... including ./libbase/Android.mk ... including ./libcore/Android.mk ... find: external/doclava/res/assets/templates-sdk: No such file or directory including ./libnativehelper/Android.mk ... including ./prebuilts/misc/Android.mk ... including ./system/core/Android.mk ... install -Dt /home/buildozer/aports/testing/dalvik-standalone/pkg/dalvik-standalone/usr/lib/java/dex/art/natives/ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/lib64/libjavacore.so \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/lib64/libwolfssljni.so \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/lib64/libopenjdk.so \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/lib64/libopenjdkjvm.so install -Dt /home/buildozer/aports/testing/dalvik-standalone/pkg/dalvik-standalone/usr/lib/art/ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/lib64/libjavacore.so \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/lib64/libart-compiler.so \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/lib64/libart-dexlayout.so \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/lib64/libart.so \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/lib64/libbacktrace.so \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/lib64/libbase.so \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/lib64/libcutils.so \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/lib64/liblog.so \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/lib64/libnativebridge.so \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/lib64/libnativehelper.so \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/lib64/libsigchain.so \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/lib64/libunwind.so \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/lib64/libutils.so \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/lib64/libvixl.so \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/lib64/libziparchive-host.so test -f /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/bin/dalvikvm && install -Dt /home/buildozer/aports/testing/dalvik-standalone/pkg/dalvik-standalone/usr/bin /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/bin/dalvikvm || true test -f /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/bin/dalvikvm64 && install -Dt /home/buildozer/aports/testing/dalvik-standalone/pkg/dalvik-standalone/usr/bin /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/bin/dalvikvm64 || true install -Dt /home/buildozer/aports/testing/dalvik-standalone/pkg/dalvik-standalone/usr/bin /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/bin/dex2oat install -Dt /home/buildozer/aports/testing/dalvik-standalone/pkg/dalvik-standalone/usr/bin /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/bin/dx install -Dt /home/buildozer/aports/testing/dalvik-standalone/pkg/dalvik-standalone/usr/lib/java/dex/art/ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/framework/apachehttp-hostdex.jar \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/framework/apache-xml-hostdex.jar \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/framework/bouncycastle-hostdex.jar \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/framework/core-junit-hostdex.jar \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/framework/core-libart-hostdex.jar \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/framework/core-oj-hostdex.jar \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/framework/hamcrest-hostdex.jar \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/framework/okhttp-hostdex.jar \ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/framework/wolfssljni-hostdex.jar install -D /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/common/obj/JAVA_LIBRARIES/core-all-hostdex_intermediates/classes.jar /home/buildozer/aports/testing/dalvik-standalone/pkg/dalvik-standalone/usr/lib/java/core-all_classes.jar install -Dt /home/buildozer/aports/testing/dalvik-standalone/pkg/dalvik-standalone/usr/lib/java/ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//out/host/linux-x86/framework/dx.jar install -Dt /home/buildozer/aports/testing/dalvik-standalone/pkg/dalvik-standalone/etc/ssl/certs/java/ /home/buildozer/aports/testing/dalvik-standalone/src/dalvik_standalone-b64b6f8d7fb98216e3120fe3f75465d230c2bafb//prebuilts/cacerts.bks >>> dalvik-standalone-dev*: Running split function dev... >>> dalvik-standalone-dev*: Preparing subpackage dalvik-standalone-dev... >>> dalvik-standalone-dev*: Stripping binaries >>> dalvik-standalone-dev*: Running postcheck for dalvik-standalone-dev >>> dalvik-standalone*: Running postcheck for dalvik-standalone >>> dalvik-standalone*: Preparing package dalvik-standalone... >>> dalvik-standalone*: Stripping binaries >>> dalvik-standalone-dev*: Scanning shared objects >>> dalvik-standalone*: Scanning shared objects >>> dalvik-standalone-dev*: Tracing dependencies... >>> dalvik-standalone-dev*: Package size: 9.3 MB >>> dalvik-standalone-dev*: Compressing data... >>> dalvik-standalone-dev*: Create checksum... >>> dalvik-standalone-dev*: Create dalvik-standalone-dev-0_git20231027-r0.apk >>> dalvik-standalone*: Tracing dependencies... >>> ERROR: dalvik-standalone*: libart-compiler.so: path not found wolfssl-jni so:libbsd.so.0 so:libc.musl-x86_64.so.1 so:libcrypto.so.3 so:libdl_bio.so.0 so:libexpat.so.1 so:libgcc_s.so.1 so:libicui18n.so.74 so:libicuuc.so.74 so:liblz4.so.1 so:liblzma.so.5 so:libstdc++.so.6 so:libwolfssl.so.41 so:libz.so.1 >>> dalvik-standalone*: Package size: 29.4 MB >>> dalvik-standalone*: Compressing data... >>> dalvik-standalone*: Create checksum... >>> dalvik-standalone*: Create dalvik-standalone-0_git20231027-r0.apk >>> dalvik-standalone: Build complete at Mon, 20 Nov 2023 20:51:33 +0000 elapsed time 0h 4m 59s >>> dalvik-standalone: Cleaning up srcdir >>> dalvik-standalone: Cleaning up pkgdir >>> dalvik-standalone: Uninstalling dependencies... (1/94) Purging .makedepends-dalvik-standalone (20231120.204636) (2/94) Purging bash (5.2.15-r6) Executing bash-5.2.15-r6.pre-deinstall (3/94) Purging bionic_translation-dev (0_git20231017-r0) (4/94) Purging bionic_translation (0_git20231017-r0) (5/94) Purging expat-dev (2.5.0-r2) (6/94) Purging expat (2.5.0-r2) (7/94) Purging icu-dev (74.1-r0) (8/94) Purging libbsd-dev (0.11.7-r3) (9/94) Purging bsd-compat-headers (0.7.2-r5) (10/94) Purging libmd-dev (1.1.0-r0) (11/94) Purging libcap-dev (2.69-r1) (12/94) Purging linux-headers (6.5-r0) (13/94) Purging libunwind-dev (1.7.2-r1) (14/94) Purging libucontext-dev (1.2-r2) (15/94) Purging libucontext (1.2-r2) (16/94) Purging libunwind (1.7.2-r1) (17/94) Purging lz4-dev (1.9.4-r5) (18/94) Purging meson-pyc (1.2.3-r0) (19/94) Purging meson (1.2.3-r0) (20/94) Purging samurai (1.2-r5) (21/94) Purging openjdk8-jdk (8.392.08-r0) (22/94) Purging openssl-dev (3.1.4-r1) (23/94) Purging valgrind-dev (3.22.0-r0) (24/94) Purging wolfssl-jni-dev (5.6.4-r1) (25/94) Purging wolfssl-jni (5.6.4-r1) (26/94) Purging xz-dev (5.4.5-r0) (27/94) Purging xz (5.4.5-r0) (28/94) Purging zip (3.0-r12) (29/94) Purging unzip (6.0-r14) (30/94) Purging zlib-dev (1.3-r2) (31/94) Purging icu (74.1-r0) (32/94) Purging icu-libs (74.1-r0) (33/94) Purging mesa-egl (23.1.9-r1) (34/94) Purging mesa-gbm (23.1.9-r1) (35/94) Purging mesa (23.1.9-r1) (36/94) Purging mesa-glapi (23.1.9-r1) (37/94) Purging openjdk8-jre (8.392.08-r0) (38/94) Purging font-dejavu (2.37-r5) (39/94) Purging fontconfig (2.14.2-r4) (40/94) Purging encodings (1.0.7-r1) (41/94) Purging mkfontscale (1.2.2-r4) (42/94) Purging openjdk8-jre-base (8.392.08-r0) (43/94) Purging openjdk8-jre-lib (8.392.08-r0) (44/94) Purging java-common (0.5-r0) (45/94) Purging java-cacerts (1.0-r1) Executing java-cacerts-1.0-r1.post-deinstall (46/94) Purging p11-kit-trust (0.25.3-r0) (47/94) Purging nss (3.94-r0) (48/94) Purging p11-kit (0.25.3-r0) (49/94) Purging pcsc-lite-libs (2.0.0-r2) (50/94) Purging python3-pyc (3.11.6-r1) (51/94) Purging python3-pycache-pyc0 (3.11.6-r1) (52/94) Purging pyc (3.11.6-r1) (53/94) Purging wayland-libs-client (1.22.0-r4) (54/94) Purging wayland-libs-server (1.22.0-r4) (55/94) Purging alsa-lib (1.2.10-r0) (56/94) Purging freetype (2.13.2-r0) (57/94) Purging python3 (3.11.6-r1) (58/94) Purging gdbm (1.23-r1) (59/94) Purging giflib (5.2.1-r5) (60/94) Purging libdrm (2.4.117-r1) (61/94) Purging libpciaccess (0.17-r2) (62/94) Purging hwdata-pci (0.376-r0) (63/94) Purging icu-data-en (74.1-r0) (64/94) Purging krb5-libs (1.21.2-r0) (65/94) Purging krb5-conf (1.0-r2) (66/94) Purging keyutils-libs (1.6.3-r3) (67/94) Purging lcms2 (2.15-r4) (68/94) Purging libxi (1.8.1-r2) (69/94) Purging libxtst (1.2.4-r4) (70/94) Purging libxext (1.3.5-r3) (71/94) Purging libxrender (0.9.11-r4) (72/94) Purging libxcomposite (0.4.6-r4) (73/94) Purging libx11 (1.8.7-r0) (74/94) Purging libxcb (1.16-r0) (75/94) Purging libxdmcp (1.1.4-r3) (76/94) Purging libbsd (0.11.7-r3) (77/94) Purging libbz2 (1.0.8-r6) (78/94) Purging libcom_err (1.47.0-r5) (79/94) Purging libffi (3.4.4-r3) (80/94) Purging libfontenc (1.1.7-r4) (81/94) Purging libjpeg-turbo (3.0.1-r0) (82/94) Purging liblksctp (1.0.19-r4) (83/94) Purging libmd (1.1.0-r0) (84/94) Purging libpanelw (6.4_p20231007-r0) (85/94) Purging libpng (1.6.40-r0) (86/94) Purging libtasn1 (4.19.0-r2) (87/94) Purging libverto (0.3.2-r2) (88/94) Purging libxau (1.0.11-r3) (89/94) Purging libxshmfence (1.3.2-r5) (90/94) Purging mpdecimal (2.5.1-r2) (91/94) Purging nspr (4.35-r4) (92/94) Purging readline (8.2.1-r2) (93/94) Purging sqlite-libs (3.44.0-r0) (94/94) Purging xz-libs (5.4.5-r0) Executing busybox-1.36.1-r15.trigger Executing ca-certificates-20230506-r0.trigger OK: 377 MiB in 105 packages >>> dalvik-standalone: Updating the testing/x86_64 repository index... >>> dalvik-standalone: Signing the index...